mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Userland: Specify margins and spacing in the GUI::Layout constructor
This commit is contained in:
parent
9561ec15f4
commit
77ad0fdb07
64 changed files with 136 additions and 288 deletions
|
@ -20,9 +20,7 @@ namespace GUI {
|
|||
Statusbar::Statusbar(int count)
|
||||
{
|
||||
set_fixed_height(18);
|
||||
set_layout<HorizontalBoxLayout>();
|
||||
layout()->set_margins(0);
|
||||
layout()->set_spacing(2);
|
||||
set_layout<HorizontalBoxLayout>(0, 2);
|
||||
|
||||
m_corner = add<ResizeCorner>();
|
||||
set_segment_count(count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue