Skip to content

InfoBar ignores HorizontalContentAlignment #7127

@grochocki

Description

@grochocki

Describe the bug

InfoBar ignores HorizontalContentAlignment property.

Steps to reproduce the bug

Try the following code:

<muxc:InfoBar
    IsOpen="True"
    Severity="Warning"
    Title="Title"
    HorizontalContentAlignment="Center"
    Message="Essential app message for your users to be informed of, acknowledge, or take action on." />

Actual:
image

Expected (mock):
image

NuGet package version

Microsoft.UI.Xaml 2.7.1

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

Windows Insider Build (xxxxx)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions