1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00

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

This commit is contained in:
Andreas Kling 2019-02-28 19:31:37 +01:00
parent c5d88ff0d8
commit 737a4d2377
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);
}