summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrHun <28605587+frhun@users.noreply.github.com>2022-07-04 05:31:13 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-04 11:15:40 +0200
commit53215be7aed0aeab3d5d1755949b84a20411d4da (patch)
treed1d10b8b84fcf94750039889b3136abcc845d639
parent2ee7c440361a8cd9f7f517c29cb92431c031bebc (diff)
downloadserenity-53215be7aed0aeab3d5d1755949b84a20411d4da.zip
WidgetGallery: Repair GML layout on BasicsTab
-rw-r--r--Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml b/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml
index bc3cf3538e..deca9112fc 100644
--- a/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml
+++ b/Userland/Demos/WidgetGallery/GalleryGML/BasicsTab.gml
@@ -5,7 +5,7 @@
}
@GUI::GroupBox {
- fixed_height: 95
+ preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {
margins: [8]
}
@@ -27,11 +27,13 @@
@GUI::Label {
name: "enabled_label"
text: "Label"
+ min_height: 16
}
@GUI::Label {
name: "disabled_label"
text: "Disabled"
+ min_height: 16
enabled: false
}
}