1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

Applications+Games+LibGUI: Fix layout problems

This commit is contained in:
FrHun 2022-06-29 05:05:44 +02:00 committed by Andreas Kling
parent c2d344bd8c
commit f59c167bb0
10 changed files with 34 additions and 41 deletions

View file

@ -9,7 +9,7 @@
@GUI::GroupBox {
title: "Orientation"
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
margins: [10, 8, 8]
}
@ -30,7 +30,7 @@
layout: @GUI::HorizontalBoxLayout {
margins: [4]
}
shrink_to_fit: true
preferred_height: "fit"
@GUI::Label {
text: "Offset"
@ -48,18 +48,16 @@
margins: [4]
}
@GUI::Widget {}
@GUI::Layout::Spacer {}
@GUI::Button {
@GUI::DialogButton {
name: "ok_button"
text: "OK"
max_width: 75
}
@GUI::Button {
@GUI::DialogButton {
name: "cancel_button"
text: "Cancel"
max_width: 75
}
}
}