mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user