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> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1284</width> <width>1280</width>
<height>674</height> <height>674</height>
</rect> </rect>
</property> </property>
@ -34,7 +34,7 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>160</width> <width>165</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>

View File

@ -89,7 +89,7 @@ bool GameListSettingsWidget::event(QEvent* event)
{ {
case QEvent::LayoutRequest: case QEvent::LayoutRequest:
case QEvent::Resize: case QEvent::Resize:
QtUtils::ResizeColumnsForTableView(m_ui.searchDirectoryList, {-1, 100}); QtUtils::ResizeColumnsForTableView(m_ui.searchDirectoryList, {-1, 120});
break; break;
default: default:

View File

@ -1637,12 +1637,12 @@ void GameListWidget::resizeTableViewColumnsToFit()
200, // genre 200, // genre
50, // year 50, // year
100, // players 100, // players
80, // time played 85, // time played
80, // last played 85, // last played
80, // file size 80, // file size
80, // size 80, // size
50, // region 55, // region
90, // achievements 100, // achievements
100 // compatibility 100 // compatibility
}); });
} }

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>780</width> <width>785</width>
<height>655</height> <height>655</height>
</rect> </rect>
</property> </property>
@ -34,13 +34,13 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>150</width> <width>155</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>150</width> <width>155</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>