WoW:API FontString SetText: Difference between revisions

Link to UI_Escape_Sequences
No edit summary
(Link to UI_Escape_Sequences)
Line 7: Line 7:
== Description ==
== Description ==


Sets the text to be displayed in the fontstring. The text will have the color given to it via the fontinstance definition (or a FontString:SetTextColor call). You may however use a form of simpleHTML to color specific parts of a string, as shown in the example below.
Sets the text to be displayed in the fontstring. The text will have the color given to it via the fontinstance definition (or a FontString:SetTextColor call). You may however use [[UI_Escape_Sequences|escape sequences]] to modify the string's appearance.


NOTE: FontString has a limit of ~4000 chars.
NOTE: FontString has a limit of ~4000 chars.
Anonymous user