Skip to content

NavigationBackButtonNormalStyle is wrong when used directly #9536

Open

Description

Describe the bug

Using NavigationBackButtonNormalStyle directly does not apply the correct style:

  • Corners are not rounded
  • Wrong font size
  • etc.

Repro app: https://github.com/miksalmon/NavigationBackButtonStyleIssue

Steps to reproduce the bug

  1. Create button
  2. Add style: Style="{StaticResource NavigationBackButtonNormalStyle}"

Expected behavior

Button should have the same style as NavigationView back button

Screenshots

using style directly: image
using copied style: image
expected: image

NuGet package version

None

Windows version

No response

Additional context

Copying the style from https://github.com/microsoft/microsoft-ui-xaml/blob/winui3/release/1.4-stable/controls/dev/NavigationView/NavigationBackButton.xaml locally applies the correct style as shown by the 2nd screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions