View Single Post
05/29/18, 10:29 PM   #1
Phuein
 
Phuein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 132
[Solved] Text Formatting in text control?

I have a lua made control:

Code:
page = WINDOW_MANAGER:CreateControlFromVirtual("someparent", someplace, "ZO_DefaultEditMultiLineForBackdrop")
...
It works fine. However, when text is displayed it ignores |cFFFFFFtext|r and other tags. I've searched the code, xmls, articles, forums, and couldn't figure out how to either toggle that display mode, so it can show colored text using the game tags, or change it into another template that works the same but displays colors.

To clarify, I have no issue setting the text color for the control. I want "|cFF0000TEXT|r" to show "TEXT" with the color. Just like in other text controls in the game.

Any clues?

Last edited by Phuein : 05/30/18 at 02:23 PM.
  Reply With Quote