Hi all, I come back with a new (so) basic question... Is it possible to center the text into a RichTextLabel? I can't find how to. I don't want to use BBCode. Thanks !
Any particular reason you want to avoid bbcode?
edit: perhaps the enumerators might help: https://docs.godotengine.org/en/3.1/classes/class_richtextlabel.html#enumerations
thanks, I will check that...
Reason? Because I want to have a dynamic list of numbers into Texts and use them to make a dynamic total. Then it seems not simple to use it with [center]text[/center] Possible, but not simple.....
@Pandafox You could write a method that wraps given text with the [center] tag and appends it automatically:
[center]
func add_item(item): $MyRichTextLabel.append_bbcode("[center]" + str(item) + "[/center]\n")