From f098f7c7f76ac6e4735b4c68ddbac04170e28ea4 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 29 Sep 2024 09:00:39 +0200 Subject: [PATCH] use a grid layout for the UI to make spacing look more consistent --- .../qt_sdl/InterfaceSettingsDialog.ui | 444 +++++++++--------- 1 file changed, 209 insertions(+), 235 deletions(-) diff --git a/src/frontend/qt_sdl/InterfaceSettingsDialog.ui b/src/frontend/qt_sdl/InterfaceSettingsDialog.ui index c984e532bc..d4698778c3 100644 --- a/src/frontend/qt_sdl/InterfaceSettingsDialog.ui +++ b/src/frontend/qt_sdl/InterfaceSettingsDialog.ui @@ -6,8 +6,8 @@ 0 0 - 337 - 275 + 389 + 356 @@ -95,246 +95,220 @@ Framerate - - - - 10 - 10 - 301 - 81 - - - - - - - 0 - - - - - - - Target FPS - - - - - - - FPS - - - 4 - - - 0.000100000000000 - - - 1000.000000000000000 - - - 59.826099999999997 - - - - - - - - - - - Fast-Forward - - - spinFFW - - - - - - - FPS - - - 4 - - - 0.000100000000000 - - - 1000.000000000000000 - - - 1000.000000000000000 - - - - - - - - - - - Slow-Mo - - - - - - - FPS - - - 4 - - - 0.000100000000000 - - - 1000.000000000000000 - - - 29.913000000000000 - - - - - - - - - - - 0 - - - - - 2 - - - - - - 63 - 16777215 - - - - Accurate - - - - - - - - 62 - 16777215 - - - - Clean - - - - - - - - - 2 - - - - - - 41 - 16777215 - - - - 2x - - - - - - - - 41 - 16777215 - - - - 3x - - - - - - - - 41 - 16777215 - - - - MAX - - - - - - - - - 2 - - - - - - 63 - 16777215 - - - - 1/4 - - - - - - - - 62 - 16777215 - - - - 1/2 - - - - - - - - - + + + + + 6 + + + 2 + + + + + Target FPS + + + + + + + Fast-Forward + + + spinFFW + + + + + + + FPS + + + 4 + + + 0.000100000000000 + + + 1000.000000000000000 + + + 59.826099999999997 + + + + + + + 2 + + + + + + 63 + 16777215 + + + + 1/4 + + + + + + + + 62 + 16777215 + + + + 1/2 + + + + + + + + + FPS + + + 4 + + + 0.000100000000000 + + + 1000.000000000000000 + + + 29.913000000000000 + + + + + + + FPS + + + 4 + + + 0.000100000000000 + + + 1000.000000000000000 + + + 1000.000000000000000 + + + + + + + Slow-Mo + + + + + + + 2 + + + + + + 63 + 16777215 + + + + Accurate + + + + + + + + 62 + 16777215 + + + + Clean + + + + + + + + + 2 + + + + + + 41 + 16777215 + + + + 2x + + + + + + + + 41 + 16777215 + + + + 3x + + + + + + + + 41 + 16777215 + + + + MAX + + + + + + + + - Qt::Horizontal + Qt::Orientation::Horizontal - QDialogButtonBox::Cancel|QDialogButtonBox::Ok + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok