mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibGUI: ToolbarContainer account for frame width
Because Frame now has content_margins, and the layouts now respect them, this extra margin setting is no longer needed.
This commit is contained in:
parent
6964c2a2db
commit
a4eeb6f9eb
Notes:
sideshowbarker
2024-07-18 01:31:22 +09:00
Author: https://github.com/frhun
Commit: a4eeb6f9eb
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
1 changed files with 0 additions and 2 deletions
|
@ -25,8 +25,6 @@ ToolbarContainer::ToolbarContainer(Gfx::Orientation orientation)
|
|||
|
||||
auto& layout = set_layout<VerticalBoxLayout>();
|
||||
layout.set_spacing(2);
|
||||
layout.set_margins(2);
|
||||
|
||||
set_shrink_to_fit(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue