mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibGUI+Settings: Remove superfluous margin sets
The margin set is completely superfluous, because it only ever affects grabbing (in splitters), which is never used for these classes.
This commit is contained in:
parent
a08685b9a4
commit
a261e4d9d5
Notes:
sideshowbarker
2024-07-18 01:31:52 +09:00
Author: https://github.com/frhun
Commit: a261e4d9d5
Pull-request: https://github.com/SerenityOS/serenity/pull/10246
Issue: https://github.com/SerenityOS/serenity/issues/5887
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
3 changed files with 0 additions and 3 deletions
|
@ -48,7 +48,6 @@ ProcessChooser::ProcessChooser(const StringView& window_title, const StringView&
|
|||
auto& button_container = widget.add<GUI::Widget>();
|
||||
button_container.set_fixed_height(30);
|
||||
button_container.set_layout<GUI::HorizontalBoxLayout>();
|
||||
button_container.set_content_margins({ 4, 0 });
|
||||
button_container.layout()->set_margins({ 0, 4, 0 });
|
||||
button_container.layout()->add_spacer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue