View Single Post
07/20/15, 06:54 AM   #4
SmashingQuasar
Join Date: Jul 2015
Posts: 7
Originally Posted by Baertram View Post
Get the label control by help of
local labelCtrl = WINDOW_MANAGER:GetControlByName("name here", "")
if labelCtrl ~= nil then
labelCtrl:SetColor(r, g, b, a)
end

Or just use the name of the label control if you know it already
ZOS_GameMenuLabel1:SetColor(r, g, b, a)
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