Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 772 Bytes

Variables.md

File metadata and controls

24 lines (22 loc) · 772 Bytes

Fonts

  • Small
  • Medium
  • Large
  • Title

Positions

  • Left
  • Right
  • Center

Text formatting

For the rich text element, you can use that to make complexe text.
If you put that in you text, the text that follow it will change.
Check example in media/lua/shared/Translate

  • <LEFT>, <RIGHT>, <CENTER>: Position.
  • <SIZE:small>, <SIZE:medium>, <SIZE:large>: Change font
  • <LINE>, <BR>: New line (br = 2x line)
  • <H1>, <H2>, <TEXT>: To make title (change position size and color)
  • <RGB: r,g,b>, <RED>, <ORANGE>, <GREEN>: Change color
  • <IMAGECENTER:media/ui/myFolder/myImage.png>: Add an image to the text.
  • <IMAGE:media/ui/backbutton.png,28,28>: Add an image to the text at custom position.
  • <SETX:x>: Set x position
  • <INDENT:x>: No idea