Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom font family is not applied to Title and Content in ContentDialog #9302

Closed
luckypong opened this issue Jan 31, 2024 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@luckypong
Copy link

luckypong commented Jan 31, 2024

Describe the bug

ContentControlThemeFontFamily has been added as a custom font, but it doesn't seem to apply to the ContentDialog's title and content.

All other styles are bound to a ThemeResource, but ContentDialog is bound to a StaticResource.

  • Title: FontFamily
  • Content: FontSize, FontFamily

Is this your intended style?

If you apply a custom style as a ThemeResource, the font will be set normally.

Steps to reproduce the bug

<FontFamily x:Key="ContentControlThemeFontFamily">ms-appx://</FontFamily>

Add and run

Expected behavior

ContentDialog must have a custom font applied.

Screenshots

image

NuGet package version

WinUI 3 - Windows App SDK 1.4.4: 1.4.231219000

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@luckypong luckypong added the bug Something isn't working label Jan 31, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 31, 2024
@luckypong luckypong closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the needs-triage Issue needs to be triaged by the area owners label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant