1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:17: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

@ -8,7 +8,7 @@
@GUI::GroupBox {
title: "Size (px)"
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
@ -69,7 +69,7 @@
@GUI::GroupBox {
title: "Scaling Mode"
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
@ -97,18 +97,16 @@
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {}
@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
}
}
}