diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-28 19:31:37 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-28 19:31:37 +0100 |
commit | 737a4d237703abc2b954ced3aa96a0f9bc7f02ca (patch) | |
tree | 0d11503b7c45681528020c0a1cffd081c757e582 /LibGUI/GToolBar.cpp | |
parent | c5d88ff0d8d9259bcfd612353ec0f7c36323362e (diff) | |
download | serenity-737a4d237703abc2b954ced3aa96a0f9bc7f02ca.zip |
LibGUI: Both GToolBar and GStatusBar should have highlight/shadow.
Diffstat (limited to 'LibGUI/GToolBar.cpp')
-rw-r--r-- | LibGUI/GToolBar.cpp | 1 |
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); } |