mirror of
https://github.com/stenzek/duckstation.git
synced 2025-07-22 18:10: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>
|
<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>
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user