mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
WindowServer: Move window titles 1px to the right
This makes it look nicer with wide window icons.
This commit is contained in:
parent
a5799ed462
commit
b85a57ead7
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue