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:
parent
c2d344bd8c
commit
f59c167bb0
10 changed files with 34 additions and 41 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue