View Single Post
09-18-14, 09:44 AM   #2
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Doeshttp://wowprogramming.com/docs/widgets/Frame/GetRegions return the fontstring object?

[e]
Tried it.
Code:
/script local t = ActionButton1Cooldown:GetRegions() for i, v in pairs(t) do if t.GetText and t:GetText()then print(i, t:GetText()) t:SetFontObject("SystemFont_Tiny") end end
does work.

Seems as the cooldown frame/number is created on the fly. So don't forget to check if it exists before doing something.

Last edited by Duugu : 09-18-14 at 10:09 AM.