Hi, I'm trying to add a text to a rich text label using BBCode.
Where max hp would be aligned to the left and the number would be aligned to the right.
rich_text_label.text = "Max Hp: %d" % [max_hp]
But if I do
rich_text_label.text = "Max Hp: [right]%d[/right]" % [max_hp]
the number would be on a different paragraph.
How can I achieve this? Thank you.