Open Tamilarasan-Paranthaman opened 1 month ago
<Style TargetType="CommandBar">
replaces the entire CommandBar
style with what you declare, which will cause problems like this.
<Style BasedOn="{StaticResource DefaultCommandBarStyle}" TargetType="CommandBar">
starts with the default and adds the changes you want to make.
@Tamilarasan-Paranthaman does @kmgallahan's suggestion make this issue go away ?
We are having the same issue with .NET Maui for Windows by default when adding the toolbar to the TopBar, Issues: 18258 & 19166
I tried adding this to a vanilla Maui project in the it's Windows App.Xaml file with no luck.
<Style BasedOn="{StaticResource DefaultCommandBarStyle}" TargetType="CommandBar">
Since it's coming up on a year soon without help or response from the MS Maui devs, do you guys have any insight on how to fix?
From Maui user, I guess the problem is in this file. we need to set the height of "WindowedPopupPadding" not simply by binding, which adds unnecessary blank in the situation that there is already enough space.
Describe the bug
Steps to reproduce the bug
Expected behavior
No response
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.5.5: 1.5.240627000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response