dotnet / dotnet/maui

TitleBar, MacCatalyst - "traffic lights" aligned to top left corner

Open
#30,247 4 comments 0 reactions 0 assignees View on GitHub
area-controls-toolbar platform/macos s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

Hi,
In TitleBar implementation for MacCatalyst, "traffic lights" used for window control are positioned in top-left corner. Is there any possibility to center them vertically? Most of the apps center them.

![Image](https://github.com/user-attachments/assets/58c83fea-9934-48d5-806f-d0db695294dd)

### Steps to Reproduce

1) Use official TitleBar sample: https://github.com/dotnet/maui-samples/tree/main/9.0/UserInterface/Views/TitleBarDemo
2) Update Microsof.Maui.Controls to 9.0.70
3) Run demo

### Link to public reproduction project repository

https://github.com/dotnet/maui-samples/tree/main/9.0/UserInterface/Views/TitleBarDemo

### Version with bug

9.0.70 SR7

### Is this a regression from previous behavior?

No, this is something new

### Last version that worked well

Unknown/Other

### Affected platforms

macOS

### Affected platform versions

_No response_

### Did you find any workaround?

No

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Start with the official TitleBar sample at 9.0/UserInterface/Views/TitleBarDemo and trace the MacCatalyst TitleBar implementation used by Microsoft.Maui.Controls 9.0.70. Reproduce the issue on macOS, then verify in the sample that the window-control traffic lights are vertically centered rather than aligned to the top-left corner.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, macos
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.