1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:58:10 +00:00

LibGUI: FilePicker: Fix position of location textbox

This commit is contained in:
Ben Wiederhake 2020-05-01 01:40:21 +02:00 committed by Andreas Kling
parent ebabce30bd
commit 6a453370ad

View file

@ -99,7 +99,11 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView&
auto& toolbar = upper_container.add<ToolBar>();
toolbar.set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
#ifdef MULTIVIEW_WITH_COLUMNSVIEW
toolbar.set_preferred_size(165, 0);
#else
toolbar.set_preferred_size(140, 0);
#endif
toolbar.set_has_frame(false);
auto& location_textbox = upper_container.add<TextBox>();