Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- < = less than character (XML encoding)
- > = greater than character
- = newline character (Can be inserted into the "post" part of labels to move the preceding text onto the line below. Neato.
- Notice the semicolons ;
- The color value can be set like this:
- 0xAARRGGBB
- AA = ALPHA, 00-FF
- RR = RED, 00-FF
- GG = GREEN, 00-FF
- BB = BLLUE, 00-FF
- <label>
- <part name="pre" value="<color=0xFFFF00FF>["/>
- <part name="state" value="1"/>
- <part name="type" value="pilot name"/>
- <part name="post" value="]</color>"/>
- </label>
- fontsize can also used:
- <fontsize=20> text </fontsize>
- Though of course it must be done like this:
- <label>
- <part name="pre" value="<fontsize><color=0xFFFF00FF>["/>
- <part name="state" value="1"/>
- <part name="type" value="pilot name"/>
- <part name="post" value="]</color></fontsize>"/>
- </label>
- I've also tried some other tags like <b>, <u> and <i> and they all seem to work, so I believe all standard XML tags should work...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement