microsoft / microsoft/microsoft-ui-xaml

The Content property of the TitleBar should not have its HorizontalAlignment forced to Center; it should be bound to the actual content’s property.

Open
#10,763 0 comments 0 reactions 0 assignees View on GitHub
area-TitleBar
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

https://github.com/microsoft/microsoft-ui-xaml/blob/adae19431771d29b4c94d7a2bfd889e7d8c0fa4c/src/controls/dev/TitleBar/TitleBar.xaml#L268
I need the content to be left-aligned, similar to Visual Studio.

Image

Contributor guide

Open the contributing guide

Research direction

Open src/controls/dev/TitleBar/TitleBar.xaml at the linked line and inspect how the Content property's HorizontalAlignment is set. Verify the desired left-aligned behavior with custom content, then confirm that the content follows its own alignment property without changing other TitleBar layout behavior.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.