1
Fork 0
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:
frhun 2021-09-25 19:03:50 +02:00 committed by Andreas Kling
parent 6964c2a2db
commit a4eeb6f9eb

View file

@ -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);
}