WoW:UIOBJECT SimpleHTML: Difference between revisions
Jump to navigation
Jump to search
added note detailing how to set the font for different elements
(→Basic elements: added display information) |
(added note detailing how to set the font for different elements) |
||
| Line 32: | Line 32: | ||
</P> | </P> | ||
</BODY></HTML> | </BODY></HTML> | ||
==Colouring Text== | |||
To colour text, use the standard |c notation colour escape sequences. | |||
==Using Different Fonts== | |||
It is possible to set different fonts for each HTML element (h1, h2, h3, h4, and p), using: | |||
h1:SetFont() | |||
(see the [[API_FontInstance_SetFont|SetFont documenation]] for more details | |||
You can also define font properties for these elements in your XML files, eg: | |||
<FontStringHeader1 inherits="GameFontHighlightLarge"/> | |||
==Supported Plain Mode Escape Sequences== | ==Supported Plain Mode Escape Sequences== | ||