Open
Description
Describe the bug
Using the styles NavigationBackButtonNormalStyle
and NavigationBackButtonSmallStyle
in a button results in appearances that appear to be the opposite of what they're intended to do. Namely, the NavigationBackButtonNormalStyle
results in a button that actually looks smaller than the NavigationBackButtonSmallStyle
button (refer to the screenshot and the attached sample app for visual proof).
Steps to reproduce the bug
- Create a new Blank desktop app (Win UI)
- Add the following to the main page:
<StackPanel HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock Text="Normal Button (NavigationBackButtonNormalStyle):" />
<Button Style="{StaticResource NavigationBackButtonNormalStyle}" />
<TextBlock Text="Small Button (NavigationBackButtonSmallStyle):" />
<Button Style="{StaticResource NavigationBackButtonSmallStyle}" />
</StackPanel>
- Run the app and observe the two buttons
Expected behavior
Buttons styled with NavigationBackButtonSmallStyle
are actually smaller than the ones styled with NavigationBackButtonNormalStyle
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.3.2: 1.3.230602002
Windows version
Windows 10 (21H2): Build 19044
Additional context
No response