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
Notes: sideshowbarker 2024-07-17 09:54:09 +09:00

View file

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