LibGUI: Pack toolbar buttons closer together.

This commit is contained in:
Andreas Kling 2019-02-20 11:56:28 +01:00
parent bf30502560
commit 9763eb44f9
Notes: sideshowbarker 2024-07-19 15:39:55 +09:00

View file

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