LibGUI: Both GToolBar and GStatusBar should have highlight/shadow.

This commit is contained in:
Andreas Kling 2019-02-28 19:31:37 +01:00
commit 737a4d2377
Notes: sideshowbarker 2024-07-19 15:35:17 +09:00
2 changed files with 2 additions and 0 deletions

View file

@ -34,4 +34,5 @@ void GStatusBar::paint_event(GPaintEvent& event)
painter.set_clip_rect(event.rect());
painter.fill_rect({ 0, 1, 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);
}