mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibGUI: Pack toolbar buttons closer together.
This commit is contained in:
parent
bf30502560
commit
9763eb44f9
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ GToolBar::GToolBar(GWidget* parent)
|
|||
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
|
||||
set_preferred_size({ 0, 25 });
|
||||
set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||
layout()->set_spacing(1);
|
||||
layout()->set_spacing(0);
|
||||
layout()->set_margins({1, 1, 1, 1});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue