Qt: Slightly adjust widget sizes

Fixes cut-off with default KDE theme.
This commit is contained in:
Stenzek 2025-04-13 13:26:53 +10:00
parent cf7feec9c4
commit 2e6c6dffae
No known key found for this signature in database
4 changed files with 10 additions and 10 deletions

View File

@ -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>

View File

@ -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:

View File

@ -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
});
}

View File

@ -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>