diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-26 11:14:35 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-26 11:14:35 +0100 |
commit | c90962b8420923844daa40eb48210bb4adf7a436 (patch) | |
tree | eb93728b4fde852049908d5e7c90ce14b4c53057 /LibGUI | |
parent | 9444ed0117b600cd34a533420264a2f72aba21ec (diff) | |
download | serenity-c90962b8420923844daa40eb48210bb4adf7a436.zip |
LibGUI: Make toolbars a bit bigger by default.
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GToolBar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GToolBar.cpp b/LibGUI/GToolBar.cpp index a0069c0988..a9d7e4cf65 100644 --- a/LibGUI/GToolBar.cpp +++ b/LibGUI/GToolBar.cpp @@ -8,7 +8,7 @@ GToolBar::GToolBar(GWidget* parent) : GWidget(parent) { set_size_policy(SizePolicy::Fill, SizePolicy::Fixed); - set_preferred_size({ 0, 25 }); + set_preferred_size({ 0, 29 }); set_layout(make<GBoxLayout>(Orientation::Horizontal)); layout()->set_spacing(0); layout()->set_margins({1, 1, 1, 1}); @@ -36,7 +36,7 @@ void GToolBar::add_action(Retained<GAction>&& action) button->set_button_style(GButtonStyle::CoolBar); button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed); - button->set_preferred_size({ 22, 22 }); + button->set_preferred_size({ 26, 26 }); m_items.append(move(item)); } |