mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibGUI: Both GToolBar and GStatusBar should have highlight/shadow.
This commit is contained in:
parent
c5d88ff0d8
commit
737a4d2377
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue