[PR #10242] Make top titlebar padding consistent with WinUI and other apps #27960

Open
opened 2026-01-31 09:25:24 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/10242

State: closed
Merged: No


The current titlebar padding of 4px on the top was decided in #3513, and it was chosen because it persisted even in maximized mode. That was over a year and a half ago, and in the meantime with #5881 the issue was fixed.

WinUI and other tabbed apps like Chrome and Edge have the left padding equal to the one on top, because it looks more balanced.

This fix increases the height of the caption buttons in windowed mode by 4px, which in turn makes the effective top padding be 8px. (that's how it worked before as well)

top-padding

**Original Pull Request:** https://github.com/microsoft/terminal/pull/10242 **State:** closed **Merged:** No --- The current titlebar padding of 4px on the top was decided in #3513, and it was chosen because it persisted even in maximized mode. That was over a year and a half ago, and in the meantime with #5881 the issue was fixed. WinUI and other tabbed apps like Chrome and Edge have the left padding equal to the one on top, because it looks more balanced. This fix increases the height of the caption buttons in windowed mode by 4px, which in turn makes the effective top padding be 8px. (that's how it worked before as well) ![top-padding](https://user-images.githubusercontent.com/84711285/119894136-e5dbca00-bf44-11eb-9776-d78f61ec17e3.png)
claunia added the pull-request label 2026-01-31 09:25:24 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27960