You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the project. If you change the radio button, the bar stays the same, but the title bar height changes (you can check by trying the buttons and the in-app-toolbar in the app). For the Collapsed settings, the buttons disappear, and you can't move the window anymore
@ghost1372 The problem is not in the titlebar buttons - it's in the Titlebar itself - in your gif, you can see that the titlebar has always the same height, it doesn't change, but it should change height (or disappear when you choose collapsed). The buttons change, but the titlebar (which should change), no
Describe the bug
The TitleBar has always the Standard Height and doesn't respect the AppWindow.TitleBar.PreferredHeightOption setting
Steps to reproduce the bug
Add this code in MainWindow.xaml.cs
Add this code to MainWindow.xaml
Run the project. If you change the radio button, the bar stays the same, but the title bar height changes (you can check by trying the buttons and the in-app-toolbar in the app). For the Collapsed settings, the buttons disappear, and you can't move the window anymore
This project has a sample of the bug: https://github.com/brunosonnino/TitleBarBugs/tree/main/2%20-%20TitleBarHeight
Expected behavior
The TitleBar should respect the setting
Screenshots
Standard
Tall
Collapsed
NuGet package version
WinUI 3 - Windows App SDK 1.6 Experimental 2: 1.6.240701003-experimental2
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: