mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibGUI: FilePicker: Fix position of location textbox
This commit is contained in:
parent
ebabce30bd
commit
6a453370ad
Notes:
sideshowbarker
2024-07-19 07:03:20 +09:00
Author: https://github.com/BenWiederhake
Commit: 6a453370ad
Pull-request: https://github.com/SerenityOS/serenity/pull/2036
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/zlotny
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>();
|
||||
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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue