Links |
---|
Sets the text to be displayed in the {{api|t=o|FontString)).
fontString:SetText(string text)
Details
- FontString has a limit of ~4000 chars.[citation needed]
- The SetFont must be set before showing text.
- The text may be formatted using UI Escape Sequences.
Example
fontString:SetText("|cff000000This text is black,|r |cffff0000while this text will be red.|r")