diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-23 14:09:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-23 14:09:05 +0200 |
commit | 7da7bbe6f9a9eb559d0f0a88e79d348e7237cea0 (patch) | |
tree | ea298cca44423417cd90a74d193ba48c4115de8f /Libraries/LibGUI/ToolBar.cpp | |
parent | 56c73f03cecb8e68e783e2c8ab6663089028873c (diff) | |
download | serenity-7da7bbe6f9a9eb559d0f0a88e79d348e7237cea0.zip |
LibGUI: Decrease the default ToolBar height a little bit
Diffstat (limited to 'Libraries/LibGUI/ToolBar.cpp')
-rw-r--r-- | Libraries/LibGUI/ToolBar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibGUI/ToolBar.cpp b/Libraries/LibGUI/ToolBar.cpp index e93a31c3fb..0c05f7b693 100644 --- a/Libraries/LibGUI/ToolBar.cpp +++ b/Libraries/LibGUI/ToolBar.cpp @@ -39,10 +39,10 @@ ToolBar::ToolBar(Orientation orientation, int button_size) { if (orientation == Orientation::Horizontal) { set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); - set_preferred_size(0, button_size + 12); + set_preferred_size(0, button_size + 10); } else { set_size_policy(SizePolicy::Fixed, SizePolicy::Fill); - set_preferred_size(button_size + 12, 0); + set_preferred_size(button_size + 10, 0); } set_layout<BoxLayout>(orientation); layout()->set_spacing(0); @@ -84,7 +84,7 @@ public: SeparatorWidget() { set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); - set_preferred_size(8, 22); + set_preferred_size(8, 18); } virtual ~SeparatorWidget() override {} |