From 127ce32d9e235622b708f5a7a7be9fc57bef2c39 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 11 Jan 2021 22:14:10 +0100 Subject: [PATCH] LibGfx: Adjust margin between window title/stripes by 1px This makes it symmetrical with the margin between window icon/title. --- Libraries/LibGfx/ClassicWindowTheme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibGfx/ClassicWindowTheme.cpp b/Libraries/LibGfx/ClassicWindowTheme.cpp index 412a8fb621..5476bec441 100644 --- a/Libraries/LibGfx/ClassicWindowTheme.cpp +++ b/Libraries/LibGfx/ClassicWindowTheme.cpp @@ -89,7 +89,7 @@ void ClassicWindowTheme::paint_normal_frame(Painter& painter, WindowState window painter.fill_rect_with_gradient(titlebar_rect, border_color, border_color2); - int stripe_left = titlebar_title_rect.right() + 4; + int stripe_left = titlebar_title_rect.right() + 5; int stripe_right = leftmost_button_rect.left() - 3; if (stripe_left && stripe_right && stripe_left < stripe_right) { for (int i = 2; i <= titlebar_inner_rect.height() - 2; i += 2) {