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
A Text Block with TextAlignment set to Center/Right (possibly others) can get into a state where although the TextBlock's TextAlignment property is still set correctly, the visual appearance of the TextBlock is TextAlignment left. This seems to happen only in certain cases:
When changing the font from a ComboBox (tested using standard Fluent theme and FluentAvalonia theme)
Describe the bug
A Text Block with TextAlignment set to Center/Right (possibly others) can get into a state where although the TextBlock's TextAlignment property is still set correctly, the visual appearance of the TextBlock is TextAlignment left. This seems to happen only in certain cases:
Screen.Recording.2025-02-06.083019.mp4
To Reproduce
Minimal repro: TextAlignmentRepro.zip
Expected behavior
TextBlock should display it's text aligned correctly.
Avalonia version
11.2.3
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: