Richtextlabel alignment

bethleembethleem Posts: 6Member

Is there a way to align text inside a Richtextlabel like you can do in a plain Label? I can´t find out in the docs.

Answers

  • Shin-NiLShin-NiL Posts: 87Moderator
    edited April 29 Answer ✓

    You can use Bbcode tags for that:

    [center]my centered text here[/center]
    [right]my right aligned text here[/right]

    [left] should work too, but doesn't. Left is the default alignment though.

    Don't forget to enable Bbcode in the RichTextLabel node to take effect.

  • bethleembethleem Posts: 6Member

    Thxs, I didn´t think of that! :)

Sign In or Register to comment.