Wikia

WoWWiki

API Button GetNormalFontObject

Talk0
102,225pages on
this wiki
Revision as of 23:16, January 8, 2009 by WoWWiki-Stewart (Talk | contribs)

font = Button:GetNormalFontObject();

returns the normal font object that the button is using.

i.e.

button:SetNormalFontObject("GameFontNormalSmall")
local font = button:GetNormalFontObject();
font would then = "GameFontNormalSmall" which could then be modified with font:SetTextColor etc and then put back into the button.


This is a quickie wiki page and needs to be flushed out.

Around Wikia's network

Random Wiki