mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 07:15:07 +00:00
LibGUI: Add GHBoxLayout and GVBoxLayout convenience classes
This commit is contained in:
parent
63364f8a5d
commit
d67da8c101
50 changed files with 128 additions and 114 deletions
|
@ -41,7 +41,7 @@ GStatusBar::GStatusBar(int label_count, GWidget* parent)
|
|||
{
|
||||
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
set_preferred_size(0, 20);
|
||||
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||
set_layout(make<GHBoxLayout>());
|
||||
layout()->set_margins({ 2, 2, 2, 2 });
|
||||
layout()->set_spacing(2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue