From f113923748508432d57749f89f35ca8720fe9f54 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Tue, 14 Jul 2026 09:07:47 +0200 Subject: [PATCH] fix spinbox height (#1160) * fix spinbox height * more --- src/ui/gui/cheat_page.slint | 2 +- src/ui/gui/netplay_wait.slint | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/gui/cheat_page.slint b/src/ui/gui/cheat_page.slint index 84f0832..04eeedc 100644 --- a/src/ui/gui/cheat_page.slint +++ b/src/ui/gui/cheat_page.slint @@ -48,6 +48,7 @@ export component Cheats inherits Page { Rectangle { } for data in CheatsData.cheats: VerticalBox { + height: self.min-height; Text { text: data.cheat_name; font-size: 16px; @@ -76,7 +77,6 @@ export component Cheats inherits Page { cheat_toggled(CheatsData.cheat_game_crc,data.cheat_name,item.option,self.checked); } } - Rectangle { } } if CheatsData.cheats.length == 0 && CheatsData.cheat_game_name != "": Text { diff --git a/src/ui/gui/netplay_wait.slint b/src/ui/gui/netplay_wait.slint index d49b521..ec547c4 100644 --- a/src/ui/gui/netplay_wait.slint +++ b/src/ui/gui/netplay_wait.slint @@ -104,6 +104,7 @@ export component NetplayWait inherits Page { } SpinBox { + height: self.min-height; minimum: 1; maximum: 16; value: NetplayWaitData.input_delay;