mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +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
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