Window titlebar controls do not respect users' theme and settings #9166
Labels
area-TitleBar
Issues related to custom window title bars.
bug
Something isn't working
team-Markup
Issue for the Markup team
Describe the bug
When using
AppWindowTitleBar.ExtendsContentIntoTitleBar
; the titlebar used by WinUI does not respect the users' theme and settingsSpecifically; if a theme defines a custom look for the titlebar controls or the user changes the size of the titlebar controls
Steps to reproduce the bug
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
(SpecificallyCaptionHeight
andBorderWidth
)regedit
)Expected behavior
The titlebar controls size as expected
Screenshots
No response
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621, Windows 11 (21H2): Build 22000, Windows 10 (21H2): Build 19044, Windows 10 (21H1): Build 19043, Windows 10 (20H2): Build 19042, Windows 10 (1809): Build 17763
Additional context
Fixing this issue would be great for accessibility; as titlebar control size may be increased by people with disabilities (i.e. poor vision; tremors) to aid in allowing them to keep using Windows
The text was updated successfully, but these errors were encountered: