mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:07:44 +00:00
LibGUI: FilePicker: Fix position of location textbox
This commit is contained in:
parent
ebabce30bd
commit
6a453370ad
1 changed files with 4 additions and 0 deletions
|
@ -99,7 +99,11 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView&
|
||||||
|
|
||||||
auto& toolbar = upper_container.add<ToolBar>();
|
auto& toolbar = upper_container.add<ToolBar>();
|
||||||
toolbar.set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
|
toolbar.set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
|
||||||
|
#ifdef MULTIVIEW_WITH_COLUMNSVIEW
|
||||||
toolbar.set_preferred_size(165, 0);
|
toolbar.set_preferred_size(165, 0);
|
||||||
|
#else
|
||||||
|
toolbar.set_preferred_size(140, 0);
|
||||||
|
#endif
|
||||||
toolbar.set_has_frame(false);
|
toolbar.set_has_frame(false);
|
||||||
|
|
||||||
auto& location_textbox = upper_container.add<TextBox>();
|
auto& location_textbox = upper_container.add<TextBox>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue