mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibGUI: Tweak FilePicker layout to remove bottom padding
This makes the "Cancel" and "Open" buttons align with the right sidebar's bottom edge.
This commit is contained in:
parent
167da1fa84
commit
6b61d4656f
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ FilePicker::FilePicker(Mode mode, const StringView& file_name, const StringView&
|
|||
lower_container.set_layout<VerticalBoxLayout>();
|
||||
lower_container.layout()->set_spacing(4);
|
||||
lower_container.set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
lower_container.set_preferred_size(0, 60);
|
||||
lower_container.set_preferred_size(0, 45);
|
||||
|
||||
auto& filename_container = lower_container.add<Widget>();
|
||||
filename_container.set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue