-
Notifications
You must be signed in to change notification settings - Fork 712
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
InfoBadge icon is not visible #8176
Comments
I'm thinking it's because SymbolIcon uses code points in the range of E1**, where Sync=E117. These have been deprecated for years. See also MicrosoftDocs/winrt-api#2363 (or #8375) |
Any update on this? I would really like to use infobadges with icons. |
This comment was marked as resolved.
This comment was marked as resolved.
resolving as dup of #8385 |
FontIcon is also not working. See WinUI3 Gallery InfoBadge Section (winui3gallery://item/InfoBadge) "Placing an InfoBadge Inside Another Control", the InfoBadge element has a custom icon, but it is not visible. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@Jay-o-Way no it isn't only in the app, it is happening to me in the app I'm building. I used that example to easily show the issue. <InfoBadge Style="{StaticResource CautionIconInfoBadgeStyle}"/> The exclamation icon is missing Or this example from Microsoft Learn: <Button Width="200" Height="60" Padding="4"
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
<Grid>
<SymbolIcon Symbol="Sync"/>
<InfoBadge x:Name="buttonInfoBadge"
Background="#C42B1C"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Width="16" Height="16">
<InfoBadge.IconSource>
<FontIconSource Glyph=""/>
</InfoBadge.IconSource>
</InfoBadge>
</Grid>
</Button> The icon is also missing... |
Any update on this? |
I can repro this with latest 1.5 release. Reopening. |
I have the same problem |
It works (at least on my 1.42 version) by setting the font.
|
Yeah but a font shouldn't be hardcoded. At all. |
Describe the bug
The icon in an icon info badge is not visible in WinUI 3.
Steps to reproduce the bug
Expected behavior
No response
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.2.3: 1.2.230118.102
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: