summaryrefslogtreecommitdiff
path: root/LibGUI/GToolBar.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-27 20:48:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-27 20:48:23 +0100
commit670e376e277b56edc6ad8fe2ac5856c5c88a7322 (patch)
tree9e2a1482a925e1af7ec0e9f8e3ef84fbf83e5407 /LibGUI/GToolBar.cpp
parentd71820a382a5b7f36065ed611cbdd83fe5042a37 (diff)
downloadserenity-670e376e277b56edc6ad8fe2ac5856c5c88a7322.zip
Tweak the look of various UI surfaces and buttons.
Diffstat (limited to 'LibGUI/GToolBar.cpp')
-rw-r--r--LibGUI/GToolBar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/LibGUI/GToolBar.cpp b/LibGUI/GToolBar.cpp
index 992b7f867e..1a53bfa59a 100644
--- a/LibGUI/GToolBar.cpp
+++ b/LibGUI/GToolBar.cpp
@@ -8,10 +8,10 @@ GToolBar::GToolBar(GWidget* parent)
: GWidget(parent)
{
set_size_policy(SizePolicy::Fill, SizePolicy::Fixed);
- set_preferred_size({ 0, 30 });
+ set_preferred_size({ 0, 28 });
set_layout(make<GBoxLayout>(Orientation::Horizontal));
layout()->set_spacing(0);
- layout()->set_margins({ 3, 3, 3, 3 });
+ layout()->set_margins({ 2, 2, 2, 2 });
}
GToolBar::~GToolBar()
@@ -50,7 +50,7 @@ public:
{
set_size_policy(SizePolicy::Fixed, SizePolicy::Fixed);
set_background_color(Color::White);
- set_preferred_size({ 8, 20 });
+ set_preferred_size({ 8, 22 });
}
virtual ~SeparatorWidget() override { }
@@ -59,7 +59,7 @@ public:
Painter painter(*this);
painter.set_clip_rect(event.rect());
painter.translate(rect().center().x() - 1, 0);
- painter.draw_line({ 0, 0 }, { 0, rect().bottom() }, Color::DarkGray);
+ painter.draw_line({ 0, 0 }, { 0, rect().bottom() }, Color::MidGray);
painter.draw_line({ 1, 0 }, { 1, rect().bottom() }, Color::White);
}