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

@ -19,7 +19,7 @@
}
@GUI::Widget {
shrink_to_fit: true
preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
spacing: 4
}
@ -59,15 +59,15 @@
@GUI::Label {
text: "Preview:"
text_alignment: "CenterLeft"
preferred_width: 120
}
@GUI::Frame {
layout: @GUI::VerticalBoxLayout {}
@GUI::Label {
name: "clock_preview"
text: "12:34:56"
}
@GUI::Label {
shape: "Container"
thickness: 2
shadow: "Sunken"
name: "clock_preview"
text: "12:34:56"
}
}
}