+1 vote

Label and RichTextLabel is kinda confusing to me. Label have vertical and horizontal align but RTL not, at the same time RTL have bbcode, label not. Why cant there be one node with both functionalities?

Godot version 3.4
in Engine by (69 points)

1 Answer

0 votes

I'd guess that this is to keep functionality with older Godot versions, because if you're using an old version that doesn't have RichTextLabel, you can just use Label, but if there's only one node for both, then an older version just wouldn't have any UI text support.

by (75 points)

Also, you can use the BBCode center tag to align text in a RichTextLabel.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.