ProcessManager+LibGUI: Tweak things to improve ProcessManager look.

This commit is contained in:
Andreas Kling 2019-05-05 20:53:04 +02:00
commit 3bdb95e128
Notes: sideshowbarker 2024-07-19 14:13:37 +09:00
7 changed files with 20 additions and 15 deletions

View file

@ -81,5 +81,5 @@ void GToolBar::paint_event(GPaintEvent& event)
{
GPainter painter(*this);
painter.add_clip_rect(event.rect());
StylePainter::paint_surface(painter, rect(), !spans_entire_window_horizontally());
StylePainter::paint_surface(painter, rect(), x() != 0, y() != 0);
}