<text>

About The Text Tag

<widget>
  <text>Hello, world!</text>
</widget>

The <text> element defines a widget text element.

Inner Text

The <text> element can have any character as the inner text excluding < and > and trimming white space. < must be converted to the &lt; entity. > must be converted to the &gt; entity. & can optionally be converted to the &amp; entity.

Attributes

font - font

Defines the font family and size of the text.

lineLimit - posInt

Defines the maximum line limit.

minimumScaleFactor - decimal

Defines the minimum scale factor.

shadowColor - colour

Defines the shadow color.

shadowOffset - point

Defines the shadow offset.

shadowRadius - posInt

Defines the shadow radius.

textColor - colour

Defines the text color.

textOpacity - decimal

Defines the opacity of the text.

url - url

Defines the text url.

alignText alignText

Defines the horizontal alignment of the text.

Last updated