1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

LibGUI: Use new layout system in FilePickerDialog

This commit is contained in:
FrHun 2022-02-22 20:29:24 +01:00 committed by Sam Atkins
parent a6ec2b9d0a
commit 1d6d074536

View file

@ -6,7 +6,7 @@
} }
@GUI::Widget { @GUI::Widget {
shrink_to_fit: true preferred_width: 103
layout: @GUI::VerticalBoxLayout { layout: @GUI::VerticalBoxLayout {
margins: [0, 4] margins: [0, 4]
} }
@ -19,7 +19,7 @@
@GUI::Tray { @GUI::Tray {
name: "common_locations_tray" name: "common_locations_tray"
fixed_width: 95 min_width: 60
} }
@GUI::Label { @GUI::Label {
@ -37,15 +37,18 @@
layout: @GUI::VerticalBoxLayout {} layout: @GUI::VerticalBoxLayout {}
@GUI::Widget { @GUI::Widget {
shrink_to_fit: true preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {} layout: @GUI::HorizontalBoxLayout {}
@GUI::TextBox { @GUI::TextBox {
name: "location_textbox" name: "location_textbox"
preferred_width: "opportunistic_grow"
min_width: 80
} }
@GUI::Toolbar { @GUI::Toolbar {
name: "toolbar" name: "toolbar"
preferred_width: "shrink"
} }
} }
@ -54,7 +57,7 @@
} }
@GUI::Widget { @GUI::Widget {
shrink_to_fit: true preferred_height: "fit"
layout: @GUI::VerticalBoxLayout {} layout: @GUI::VerticalBoxLayout {}
@GUI::Widget { @GUI::Widget {