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
commit a4eeb6f9eb
Notes: sideshowbarker 2024-07-18 01:31:22 +09:00

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