fix spinbox height (#1160)

* fix spinbox height

* more
This commit is contained in:
Logan McNaughton 2026-07-14 09:07:47 +02:00 committed by GitHub
parent 67b8f472b3
commit f113923748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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 {

View File

@ -104,6 +104,7 @@ export component NetplayWait inherits Page {
}
SpinBox {
height: self.min-height;
minimum: 1;
maximum: 16;
value: NetplayWaitData.input_delay;