LibGfx: Adjust margin between window title/stripes by 1px
This makes it symmetrical with the margin between window icon/title.
This commit is contained in:
parent
f7435dd95f
commit
127ce32d9e
Notes:
sideshowbarker
2024-07-18 23:55:13 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/127ce32d9e2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue