Template:Label Properties

From Empires Wiki
Revision as of 13:20, 7 August 2017 by Thexa4 (talk | contribs) (Created page with "=== Properties Inherited from Label === * labelText: Determines the text that the label will display. * textAlignment: Determines the alignment of the label. Valid values...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Properties Inherited from Label

  • labelText: Determines the text that the label will display.
  • textAlignment: Determines the alignment of the label. Valid values are north-west, north, north-east, west, center, east, south-west, south and south-east.
  • associate: Allows the label to be associated with another control. Fill in the fieldName of the element you want to focus on when this label is clicked.
  • dulltext: A boolean that determines if text should be displayed in a dull manner. Cannot be used together with brighttext.
  • brighttext: A boolean that determines if text should be displayed in a bright manner. Cannot be used together with dulltext.
  • font: Determines the font used by the label. Use the font name as defined in the SourceScheme.res file.
  • wrap: Determines if your label wraps around the available space.
  • centerwrap: Same as above, except it also works for centered text.
  • textinsetx: Additional horizontal offset space from whichever side it is aligned.
  • textinsety: Additional vertical offset space from whichever side it is aligned.