You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Soon after updating to the latest Avalonia release, I noticed all icons were cropped on their right side, when included in various container (NavigationViewItem, SettingsExpander, MenuFlyoutItem, ...)
I'm using FluentAvalonia as well, which could also be the cause.
I've included a small sample project (with a navigation view). You can simply switch between Avalonia 11.2.2 and 11.2.3 to see the difference.
Avalonia 11.2.2:
Avalonia 11.2.3:
Other examples:
To Reproduce
Simply create any of the aforementioned containers (NavigationViewItem, SettingsExpander, MenuFlyoutItem) and include an icon in it. Switching from 11.2.2 to 11.2.3 will (if the icon is wide enough) crop it.
Can confirm -- this is a serious issue that unfortunately makes the current version of Avalonia unusable.
I don't think it's an issue with FluentAvalonia. The FontIcon rendering and custom FluentAvalonia font haven't changed in some time. The changes to the font metric calculations in Avalonia were made before 11.2.3 as well so again, likely not the FluentAvalonia font.
Describe the bug
Soon after updating to the latest Avalonia release, I noticed all icons were cropped on their right side, when included in various container (NavigationViewItem, SettingsExpander, MenuFlyoutItem, ...)
I'm using FluentAvalonia as well, which could also be the cause.
I've included a small sample project (with a navigation view). You can simply switch between Avalonia 11.2.2 and 11.2.3 to see the difference.
Avalonia 11.2.2:
Avalonia 11.2.3:
Other examples:
To Reproduce
Simply create any of the aforementioned containers (NavigationViewItem, SettingsExpander, MenuFlyoutItem) and include an icon in it. Switching from 11.2.2 to 11.2.3 will (if the icon is wide enough) crop it.
Expected behavior
I would expect the icon to stay fully visible.
Avalonia version
11.2.3
OS
Windows
Additional context
Here's a small sample project:
TestApp.zip
The text was updated successfully, but these errors were encountered: