Qt: Change post settings style to sunken

This commit is contained in:
Connor McLaughlin 2022-10-13 17:43:09 +10:00
parent 69efa0f46f
commit 98ef639c0a
3 changed files with 12 additions and 5 deletions

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>721</width>
<height>194</height>
<height>210</height>
</rect>
</property>
<property name="sizePolicy">

View File

@ -56,10 +56,11 @@ void PostProcessingSettingsWidget::onChainSelectedShaderChanged(qint32 index)
void PostProcessingSettingsWidget::updateShaderConfigPanel(s32 index)
{
if (m_shader_config)
{
m_ui.scrollArea->setWidget(nullptr);
m_ui.scrollArea->setVisible(false);
if (m_shader_config)
{
delete m_shader_config;
m_shader_config = nullptr;
}

View File

@ -93,6 +93,12 @@
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::WinPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
@ -101,8 +107,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>681</width>
<height>390</height>
<width>679</width>
<height>438</height>
</rect>
</property>
</widget>