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
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.
Contributor 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