TextBlock.TextAlignment
broken after upgrading from 11.1.4
to 11.2.0
#17450
Labels
TextBlock.TextAlignment
broken after upgrading from 11.1.4
to 11.2.0
#17450
Describe the bug
The following element tree:
Is rendered differently between
11.1.4
and11.2.0
.On
11.1.4
it's rendered correctly:On
11.2.0
it's rendered incorrectly:Removing the
TextAlignment
property seems to fix the visual issues, but then the text is obviously not aligned as desired:None of the other properties seem to have an effect.
To Reproduce
The project where this happens is open source, so it's easy to reproduce by just checking out the right refs.
11.1.4
): https://github.com/Tyrrrz/YoutubeDownloader/tree/223e4a04e848661d6bd7c963ceadfad8ae815298 (223e4a
)11.2.0
): https://github.com/Tyrrrz/YoutubeDownloader/tree/b1632f8d119302ad9e79e01df3d4f2d9176276c7 (b1632f
)To reproduce, simply run the only Avalonia project in the solution. The issue should present itself immediately as soon as the window is opened.
Expected behavior
The text should be center-aligned, as it was before
11.2.0
.Avalonia version
11.2.0
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: