Is it possible to center text in a RichTextLabel without ignoring invisible characters?

Godot Version

4.2.2

Question

Is it possible to center text in a RichTextLabel without ignoring invisible characters. Now if I use AppendText() with [center] and increase VisibleCharacters, the text is centered along the visible characters and expands in 2 directions


I want the text to stand still and become visible from left to right

1 Like

Fine. I found one stupid method. Instead of using VisibleCharacters/VisibleRatio, you can wrap all the text in [color=#0000], and move any desired color in the loop. This will cause problems if the imported text has [color], but it’s better than nothing. If anyone finds a better way, I hope you write :cry: