mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +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
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue