Skip to content

Commit

Permalink
FilePicker: Make the location box 2px taller
Browse files Browse the repository at this point in the history
This mimics a recent change to the FileManager's location box.

FileManager commit: 3d5233a
  • Loading branch information
linusg authored and awesomekling committed Jul 3, 2020
1 parent 47f5b24 commit f8fa495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/LibGUI/FilePicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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>();
Expand Down

0 comments on commit f8fa495

Please sign in to comment.