summaryrefslogtreecommitdiff
path: root/LibGUI/GToolBar.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-28 19:31:37 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-28 19:31:37 +0100
commit737a4d237703abc2b954ced3aa96a0f9bc7f02ca (patch)
tree0d11503b7c45681528020c0a1cffd081c757e582 /LibGUI/GToolBar.cpp
parentc5d88ff0d8d9259bcfd612353ec0f7c36323362e (diff)
downloadserenity-737a4d237703abc2b954ced3aa96a0f9bc7f02ca.zip
LibGUI: Both GToolBar and GStatusBar should have highlight/shadow.
Diffstat (limited to 'LibGUI/GToolBar.cpp')
-rw-r--r--LibGUI/GToolBar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GToolBar.cpp b/LibGUI/GToolBar.cpp
index a9d7e4cf65..8e30c44e53 100644
--- a/LibGUI/GToolBar.cpp
+++ b/LibGUI/GToolBar.cpp
@@ -53,5 +53,6 @@ void GToolBar::paint_event(GPaintEvent& event)
Painter painter(*this);
painter.set_clip_rect(event.rect());
painter.fill_rect({ 0, 0, width(), height() - 1 }, Color::LightGray);
+ painter.draw_line({ 0, 0 }, { width() - 1, 0 }, Color::White);
painter.draw_line({ 0, rect().bottom() }, { width() - 1, rect().bottom() }, Color::DarkGray);
}