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
When switching between dark and light mode using CommandBar(Toggle)Buttons in the CommandBar.SecondaryCommands section, all text blocks with TextAlignment="Center" are rendered without text centering. The problem does not occur when the CommandBar(Toggle)Buttons are in the PrimaryCommands section.
This happens for instance with all CommandBarButton labels :
After switching theme with a "primary" command :
After switching theme with a "secondary" command :
Desktop/Platform :
OS: Windows 11 + wasm
FluentAvalonia Version 2.2.0 (= latest)
Avalonia Version 11.2.3 (= latest)
Additional context
Not clear under which conditions exactly the bug occurs. For instance when removing the Grid VerticalAlignment in the minimal sample the bug does not occur.
The text was updated successfully, but these errors were encountered:
When switching between dark and light mode using CommandBar(Toggle)Buttons in the CommandBar.SecondaryCommands section, all text blocks with TextAlignment="Center" are rendered without text centering. The problem does not occur when the CommandBar(Toggle)Buttons are in the PrimaryCommands section.
Minimal sample to reproduce the issue :
This happens for instance with all CommandBarButton labels :
After switching theme with a "primary" command :
After switching theme with a "secondary" command :
Desktop/Platform :
Additional context
Not clear under which conditions exactly the bug occurs. For instance when removing the Grid VerticalAlignment in the minimal sample the bug does not occur.
The text was updated successfully, but these errors were encountered: