mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-21 09:30:08 +00:00
Qt: Slightly adjust widget sizes
Fixes cut-off with default KDE theme.
This commit is contained in:
parent
cf7feec9c4
commit
2e6c6dffae
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1284</width>
|
||||
<width>1280</width>
|
||||
<height>674</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -34,7 +34,7 @@
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>160</width>
|
||||
<width>165</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
|
@ -89,7 +89,7 @@ bool GameListSettingsWidget::event(QEvent* event)
|
||||
{
|
||||
case QEvent::LayoutRequest:
|
||||
case QEvent::Resize:
|
||||
QtUtils::ResizeColumnsForTableView(m_ui.searchDirectoryList, {-1, 100});
|
||||
QtUtils::ResizeColumnsForTableView(m_ui.searchDirectoryList, {-1, 120});
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -1637,12 +1637,12 @@ void GameListWidget::resizeTableViewColumnsToFit()
|
||||
200, // genre
|
||||
50, // year
|
||||
100, // players
|
||||
80, // time played
|
||||
80, // last played
|
||||
85, // time played
|
||||
85, // last played
|
||||
80, // file size
|
||||
80, // size
|
||||
50, // region
|
||||
90, // achievements
|
||||
55, // region
|
||||
100, // achievements
|
||||
100 // compatibility
|
||||
});
|
||||
}
|
||||
|
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>780</width>
|
||||
<width>785</width>
|
||||
<height>655</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -34,13 +34,13 @@
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<width>155</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>150</width>
|
||||
<width>155</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
|
Loading…
x
Reference in New Issue
Block a user