Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading to version 11 FontFamily="Consolas" will change vertical text alignment #12288

Open
chkr1011 opened this issue Jul 22, 2023 · 1 comment
Labels

Comments

@chkr1011
Copy link

chkr1011 commented Jul 22, 2023

When using Avalonia 11 the vertical position of the text in a TextBox will change when a monospace font (like "Consolas" on Windows) is used.

TextBox

I would expect that the text remains centered (like it does when using another non monospace font).

Avalonia version: 11.0
OS : Windows 11

@chkr1011 chkr1011 added the bug label Jul 22, 2023
@chkr1011 chkr1011 changed the title After upgrading to 11 version FontFamily="Consolas" will change vertical text alignment After upgrading to version 11 FontFamily="Consolas" will change vertical text alignment Jul 22, 2023
@robloo
Copy link
Contributor

robloo commented Jul 22, 2023

Duplicate of #10658. Consolas is discussed directly here: #10658 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants