diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-05 20:53:04 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-05 20:53:04 +0200 |
commit | 3bdb95e128b387e706a37738d244d04c76370a9a (patch) | |
tree | 28168e61a049dc309adbb689e8de5f79f4ef7d8d /LibGUI | |
parent | 9e5ad2518897a454602595f28178eedb57b66c93 (diff) | |
download | serenity-3bdb95e128b387e706a37738d244d04c76370a9a.zip |
ProcessManager+LibGUI: Tweak things to improve ProcessManager look.
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GTabWidget.cpp | 2 | ||||
-rw-r--r-- | LibGUI/GToolBar.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GTabWidget.cpp b/LibGUI/GTabWidget.cpp index 65c3a4b7d2..0fb6202c5a 100644 --- a/LibGUI/GTabWidget.cpp +++ b/LibGUI/GTabWidget.cpp @@ -92,7 +92,7 @@ void GTabWidget::paint_event(GPaintEvent& event) padding_rect.shrink(2, 2); } - StylePainter::paint_frame(painter, container_rect, FrameShape::Panel, FrameShadow::Raised, 2); + StylePainter::paint_frame(painter, container_rect, FrameShape::Container, FrameShadow::Raised, 2); for (int i = 0; i < m_tabs.size(); ++i) { if (m_tabs[i].widget == m_active_widget) diff --git a/LibGUI/GToolBar.cpp b/LibGUI/GToolBar.cpp index 5fe39f3c6a..18253d7233 100644 --- a/LibGUI/GToolBar.cpp +++ b/LibGUI/GToolBar.cpp @@ -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); } |