WinUI 3 - Update AppWindow custom buttons for Windows 11 #5699
Labels
area-TitleBar
Issues related to custom window title bars.
product-winui3
WinUI 3 issues
team-CompInput
Issue for IXP (Composition, Input) team
Describe the bug
Windows 11 introduced new caption button icons for windows. While being similar to Windows 10's, 11's caption button icons are more rounded and, in my opinion, a little bit thicker, to reflect the change in window geometry.
When setting
AppWindowTitleBar.ExtendsContentIntoTitleBar
to true the caption buttons don't reflect the new style on Windows 11. In the screenshots section you can see a side-by-side view of the Settings app and a WinUI3 Desktop App titlebar. Notice that the maximize button is completely square for WinUI3, but rounded in Settings and many other windows.Steps to reproduce the bug
Steps to reproduce the behavior:
AppWindow.TitleBar.ExtendsContentIntoTitleBar
totrue
.Expected behavior
WinUI3 custom caption buttons should be rounded on W11 and square on W10. WinUI should automatically choose the icons from the Segoe Fluent Icons font.
Screenshots
Version Info
NuGet package version: [WinUI 3 - Windows App SDK 1.0.0: 1.0.0-experimental]
Windows app type:
The text was updated successfully, but these errors were encountered: