mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-19 00:20:12 +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())
|
if (!patches.empty())
|
||||||
{
|
{
|
||||||
m_ui.scrollArea->setFrameStyle(QFrame::WinPanel | QFrame::Sunken);
|
|
||||||
layout->setContentsMargins(0, 0, 0, 0);
|
layout->setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
bool first = true;
|
bool first = true;
|
||||||
@ -117,8 +116,6 @@ void GamePatchSettingsWidget::reloadList()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_ui.scrollArea->setFrameStyle(QFrame::NoFrame);
|
|
||||||
|
|
||||||
QLabel* label = new QLabel(tr("No patches are available for this game."), container);
|
QLabel* label = new QLabel(tr("No patches are available for this game."), container);
|
||||||
QFont font(label->font());
|
QFont font(label->font());
|
||||||
font.setPointSizeF(font.pointSizeF() + 2.0f);
|
font.setPointSizeF(font.pointSizeF() + 2.0f);
|
||||||
|
@ -25,6 +25,9 @@
|
|||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QScrollArea" name="scrollArea">
|
<widget class="QScrollArea" name="scrollArea">
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::Shape::WinPanel</enum>
|
||||||
|
</property>
|
||||||
<property name="horizontalScrollBarPolicy">
|
<property name="horizontalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
<enum>Qt::ScrollBarPolicy::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user