Godot Version
4.2.2.stable
Question
I currently display text in a option button. Unfortunately the text of some items is blurry.
Picture of correctly displayed item:
Picture of item with blurry text:
Thank you very much in advance!
4.2.2.stable
I currently display text in a option button. Unfortunately the text of some items is blurry.
Picture of correctly displayed item:
Picture of item with blurry text:
Thank you very much in advance!
I think it is the problem in your image
What do you mean? I don’t quite understand.
The text in the option button is image or text?
its a text
Hi,
that happens when the text is an odd count of pixels width.
Have you tried setting ‘Project Settings → GUI → Common → Snap Controls To Pixels’ on?
Salud!
Hi, thank you for your reply. I already have this option enabled
So, you can set the texture_filter in the option button to repeat
this option?
having it on enabled didn’t change anything unfortunately
I had the same problem and I found a solution!
My scenario was:
I had a Button with button text
The button text had Text Behaviour → Alignment → Center (which I wanted it to have)
As soon as I changed the Alignment to Left or Right, the problem disappeared. BUT, thatäs no solution since I still want the text to be centered.
So I went into the Import settings for the font file, and I changed:
Rendering → Subpixel Positioning to Disabled instead of Auto, as it was before.
And my problem disappeared!