mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-18 16:10:07 +00:00
Qt: Reenable WinPanel style for patches
Partial revert of 7eb2b07. Looks much worse in Fusion/default style.
This commit is contained in:
parent
97a0f4669f
commit
792b72b955
@ -92,7 +92,6 @@ void GamePatchSettingsWidget::reloadList()
|
||||
|
||||
if (!patches.empty())
|
||||
{
|
||||
m_ui.scrollArea->setFrameStyle(QFrame::WinPanel | QFrame::Sunken);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
bool first = true;
|
||||
@ -117,8 +116,6 @@ void GamePatchSettingsWidget::reloadList()
|
||||
}
|
||||
else
|
||||
{
|
||||
m_ui.scrollArea->setFrameStyle(QFrame::NoFrame);
|
||||
|
||||
QLabel* label = new QLabel(tr("No patches are available for this game."), container);
|
||||
QFont font(label->font());
|
||||
font.setPointSizeF(font.pointSizeF() + 2.0f);
|
||||
|
@ -25,6 +25,9 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QScrollArea" name="scrollArea">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::WinPanel</enum>
|
||||
</property>
|
||||
<property name="horizontalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user