Skip to content

Commit 169e413

Browse files
committed
Qt: Fix various settings window layout issues
1 parent 02e229e commit 169e413

File tree

5 files changed

+44
-53
lines changed

5 files changed

+44
-53
lines changed

pcsx2-qt/Settings/EmulationSettingsWidget.ui

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,11 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>672</width>
10-
<height>500</height>
9+
<width>600</width>
10+
<height>800</height>
1111
</rect>
1212
</property>
1313
<layout class="QVBoxLayout" name="verticalLayout">
14-
<property name="leftMargin">
15-
<number>0</number>
16-
</property>
17-
<property name="topMargin">
18-
<number>0</number>
19-
</property>
20-
<property name="rightMargin">
21-
<number>0</number>
22-
</property>
23-
<property name="bottomMargin">
24-
<number>0</number>
25-
</property>
2614
<item>
2715
<widget class="QGroupBox" name="speedGroup">
2816
<property name="title">
@@ -262,19 +250,6 @@
262250
</layout>
263251
</widget>
264252
</item>
265-
<item>
266-
<spacer name="verticalSpacer">
267-
<property name="orientation">
268-
<enum>Qt::Orientation::Vertical</enum>
269-
</property>
270-
<property name="sizeHint" stdset="0">
271-
<size>
272-
<width>20</width>
273-
<height>40</height>
274-
</size>
275-
</property>
276-
</spacer>
277-
</item>
278253
<item>
279254
<widget class="QGroupBox" name="rtcGroup">
280255
<property name="title">
@@ -294,6 +269,19 @@
294269
</layout>
295270
</widget>
296271
</item>
272+
<item>
273+
<spacer name="verticalSpacer">
274+
<property name="orientation">
275+
<enum>Qt::Vertical</enum>
276+
</property>
277+
<property name="sizeHint" stdset="0">
278+
<size>
279+
<width>20</width>
280+
<height>40</height>
281+
</size>
282+
</property>
283+
</spacer>
284+
</item>
297285
</layout>
298286
</widget>
299287
<resources>

pcsx2-qt/Settings/FolderSettingsWidget.ui

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,19 @@
258258
</layout>
259259
</widget>
260260
</item>
261+
<item>
262+
<spacer name="verticalSpacer">
263+
<property name="orientation">
264+
<enum>Qt::Vertical</enum>
265+
</property>
266+
<property name="sizeHint" stdset="0">
267+
<size>
268+
<width>20</width>
269+
<height>40</height>
270+
</size>
271+
</property>
272+
</spacer>
273+
</item>
261274
</layout>
262275
</widget>
263276
<resources>

pcsx2-qt/Settings/GameListSettingsWidget.ui

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>532</width>
10-
<height>376</height>
9+
<width>600</width>
10+
<height>800</height>
1111
</rect>
1212
</property>
13-
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,2,0,1,0">
13+
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,0">
1414
<property name="leftMargin">
1515
<number>0</number>
1616
</property>
@@ -63,8 +63,7 @@
6363
<string>Add...</string>
6464
</property>
6565
<property name="icon">
66-
<iconset theme="folder-add-line">
67-
<normaloff>.</normaloff>.</iconset>
66+
<iconset theme="folder-add-line"/>
6867
</property>
6968
<property name="toolButtonStyle">
7069
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -83,8 +82,7 @@
8382
<string>Remove</string>
8483
</property>
8584
<property name="icon">
86-
<iconset theme="folder-reduce-line">
87-
<normaloff>.</normaloff>.</iconset>
85+
<iconset theme="folder-reduce-line"/>
8886
</property>
8987
<property name="toolButtonStyle">
9088
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -141,8 +139,7 @@
141139
<string>Directory...</string>
142140
</property>
143141
<property name="icon">
144-
<iconset theme="folder-add-line">
145-
<normaloff>.</normaloff>.</iconset>
142+
<iconset theme="folder-add-line"/>
146143
</property>
147144
<property name="toolButtonStyle">
148145
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -161,8 +158,7 @@
161158
<string>File...</string>
162159
</property>
163160
<property name="icon">
164-
<iconset theme="file-add-line">
165-
<normaloff>.</normaloff>.</iconset>
161+
<iconset theme="file-add-line"/>
166162
</property>
167163
<property name="toolButtonStyle">
168164
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -181,8 +177,7 @@
181177
<string>Remove</string>
182178
</property>
183179
<property name="icon">
184-
<iconset theme="file-reduce-line">
185-
<normaloff>.</normaloff>.</iconset>
180+
<iconset theme="file-reduce-line"/>
186181
</property>
187182
<property name="toolButtonStyle">
188183
<enum>Qt::ToolButtonTextBesideIcon</enum>
@@ -221,8 +216,7 @@
221216
<string>Scan For New Games</string>
222217
</property>
223218
<property name="icon">
224-
<iconset theme="file-search-line">
225-
<normaloff>.</normaloff>.</iconset>
219+
<iconset theme="file-search-line"/>
226220
</property>
227221
</widget>
228222
</item>
@@ -238,8 +232,7 @@
238232
<string>Rescan All Games</string>
239233
</property>
240234
<property name="icon">
241-
<iconset theme="refresh-line">
242-
<normaloff>.</normaloff>.</iconset>
235+
<iconset theme="refresh-line"/>
243236
</property>
244237
</widget>
245238
</item>

pcsx2-qt/Settings/GraphicsOnScreenDisplaySettingsTab.ui

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>722</width>
10-
<height>621</height>
9+
<width>719</width>
10+
<height>800</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -359,17 +359,14 @@
359359
</widget>
360360
</item>
361361
<item>
362-
<spacer name="verticalSpacer_3">
362+
<spacer name="verticalSpacer">
363363
<property name="orientation">
364364
<enum>Qt::Vertical</enum>
365365
</property>
366-
<property name="sizeType">
367-
<enum>QSizePolicy::Maximum</enum>
368-
</property>
369366
<property name="sizeHint" stdset="0">
370367
<size>
371-
<width>701</width>
372-
<height>2</height>
368+
<width>20</width>
369+
<height>40</height>
373370
</size>
374371
</property>
375372
</spacer>

pcsx2-qt/Settings/SettingsWindow.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>800</width>
10-
<height>450</height>
10+
<height>800</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">

0 commit comments

Comments
 (0)