View Single Post
07/21/15, 09:51 AM   #7
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,007
Try something simple like :SetColor(1, 0, 0, 1) -- should be red then
Inspect ZO_StatsPanelPaneScrollChildAttributeRow1HealthName with ZGOO addon and see if the SetCoor function exists, and check if the "Name" child of ZO_StatsPanelPaneScrollChildAttributeRow1Health is the correct control to colorize. Maybe it has to be another control, like the parent ZO_StatsPanelPaneScrollChildAttributeRow1Health itsself.

I did not check the controls (currently at work) so you need to check for yourself please.

Originally Posted by SmashingQuasar View Post
I'm sorry but my code doesn't seem to work correctly, it doesn't do anything.

Here's my code:

Code:
ZO_StatsPanelPaneScrollChildAttributeRow1HealthName:SetColor(191, 33, 40, 255) -- I also tried setting the alpha to 1 since it was unclear if the value was expressed as decimal or integer
The text color doesn't change at all :-/
  Reply With Quote