BBCode in RichTextLabel

Introduction

RichTextLabel allows to display complex text markup in a control. It has a built-in API for generating the markup, but can also parse a BBCode.

Note that the BBCode tags can also be used to some extent in the XML source of the class reference.

Setting up

For RichTextLabel to work properly, it must be set up. This means loading the intended fonts in the relevant properties:

../_images/rtl_setup.png

Reference

Built-in color names

List of valid color names for the [color=<name>] tag:

  • aqua
  • black
  • blue
  • fuchsia
  • gray
  • green
  • lime
  • maroon
  • navy
  • purple
  • red
  • silver
  • teal
  • white
  • yellow

Hexadecimal color codes

Any valid 6 digit hexadecimal code is supported. e.g: [color=#ffffff]white[/color]