diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-04 19:21:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-04 19:21:57 +0200 |
commit | b85a57ead7871fd047bdf7205d0cc856569f1f5b (patch) | |
tree | f197f54bf4016b601d8fa1e441add9f76235c598 /Services/WindowServer/WindowFrame.cpp | |
parent | a5799ed46229211c056138bea685fb70c4449d9e (diff) | |
download | serenity-b85a57ead7871fd047bdf7205d0cc856569f1f5b.zip |
WindowServer: Move window titles 1px to the right
This makes it look nicer with wide window icons.
Diffstat (limited to 'Services/WindowServer/WindowFrame.cpp')
-rw-r--r-- | Services/WindowServer/WindowFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/WindowServer/WindowFrame.cpp b/Services/WindowServer/WindowFrame.cpp index 0c815ac781..3a69f78e73 100644 --- a/Services/WindowServer/WindowFrame.cpp +++ b/Services/WindowServer/WindowFrame.cpp @@ -174,9 +174,9 @@ Gfx::IntRect WindowFrame::title_bar_text_rect() const auto titlebar_rect = title_bar_rect(); auto titlebar_icon_rect = title_bar_icon_rect(); return { - titlebar_rect.x() + 2 + titlebar_icon_rect.width() + 2, + titlebar_rect.x() + 3 + titlebar_icon_rect.width() + 2, titlebar_rect.y(), - titlebar_rect.width() - 4 - titlebar_icon_rect.width() - 2, + titlebar_rect.width() - 5 - titlebar_icon_rect.width() - 2, titlebar_rect.height() }; } |