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 adding an emoji to the Text property of a , the text's vertical alignment is disrupted no matter what the LineHeight is. The text appears misaligned vertically, with the entire content shifting upwards as if the emoji dictates the height of the text.
With emoji (The text is not aligned to the vertical center of the emoji.)
Without emoji (vertically aligned)
To Reproduce
Add a to the UI.
Set the Text property to a string containing both regular text and an emoji (e.g., "😊 HELLO Emoji").
Describe the bug
When adding an emoji to the Text property of a , the text's vertical alignment is disrupted no matter what the LineHeight is. The text appears misaligned vertically, with the entire content shifting upwards as if the emoji dictates the height of the text.
With emoji (The text is not aligned to the vertical center of the emoji.)
Without emoji (vertically aligned)
To Reproduce
Expected behavior
I would expect the emoji and text to share the same vertical-line alignment.
Avalonia version
11.2.2
OS
Windows
Additional context
Seeing the same issue on
<Label/>
or other text controls. I am using Lexend font but the problem exists with the default and all fonts I have tried.The text was updated successfully, but these errors were encountered: