diff options
author | Linus Groh <mail@linusgroh.de> | 2020-07-02 22:59:19 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-03 12:28:12 +0200 |
commit | f8fa495d672a3de39315ac8c5f3c72cd0d9d1be2 (patch) | |
tree | 31ef5c90121e184f5176d039e0317d70c70fea46 /Libraries/LibGUI | |
parent | 47f5b24cc8a0d910925f330898ff832dc4663515 (diff) | |
download | serenity-f8fa495d672a3de39315ac8c5f3c72cd0d9d1be2.zip |
FilePicker: Make the location box 2px taller
This mimics a recent change to the FileManager's location box.
FileManager commit: 3d5233a
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/FilePicker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/FilePicker.cpp b/Libraries/LibGUI/FilePicker.cpp index 67a53af034..a32cb42525 100644 --- a/Libraries/LibGUI/FilePicker.cpp +++ b/Libraries/LibGUI/FilePicker.cpp @@ -93,7 +93,7 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView& auto& upper_container = vertical_container.add<Widget>(); upper_container.set_layout<HorizontalBoxLayout>(); - upper_container.layout()->set_spacing(4); + upper_container.layout()->set_spacing(2); upper_container.set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); upper_container.set_preferred_size(0, 26); @@ -108,7 +108,7 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView& auto& location_textbox = upper_container.add<TextBox>(); location_textbox.set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); - location_textbox.set_preferred_size(0, 20); + location_textbox.set_preferred_size(0, 22); location_textbox.set_text(path); m_view = vertical_container.add<MultiView>(); |