Label element widgets

<element id="directory-label">
  <label type='theme_text'>${context:file-dialog}Directory:</name>
</element>

Specifying an element that contains a label creates a new theme widget which is an x::w::label widget. This is equivalent to invoking the factory's create_label() method.

The contents of the label is a x::w::text_param value.

Specifying label options

<element id="title">
    <label type="theme_text">Lorem Ipsum ... est laborum.</label>
    <options>
        <alignment>center</alignment>
        <widthmm>40</widthmm>
        <direction>left_to_right</direction>
    </options>
</element>

An optional options element of a label element specifies the values of a x::w::label_config for creating the label widget.