diff options
author | FrHun <28605587+frhun@users.noreply.github.com> | 2022-02-22 20:29:24 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-06-28 17:52:42 +0100 |
commit | 1d6d0745360d90719788601a09eb3ee2de79acd1 (patch) | |
tree | d255c37155cce4e2ded7e9fbb2ab4c7b0af80e1a /Userland/Libraries/LibGUI | |
parent | a6ec2b9d0aafc40cb929068f271dd68adee3d77e (diff) | |
download | serenity-1d6d0745360d90719788601a09eb3ee2de79acd1.zip |
LibGUI: Use new layout system in FilePickerDialog
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r-- | Userland/Libraries/LibGUI/FilePickerDialog.gml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGUI/FilePickerDialog.gml b/Userland/Libraries/LibGUI/FilePickerDialog.gml index cd45636dd4..d285d2ebf5 100644 --- a/Userland/Libraries/LibGUI/FilePickerDialog.gml +++ b/Userland/Libraries/LibGUI/FilePickerDialog.gml @@ -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 { |