Changes: API Button SetFont


Back to page

(Adding categories)
Line 6: Line 6:
Please, read [[API_FontInstance_SetFont]] for more exact details.
Please, read [[API_FontInstance_SetFont]] for more exact details.
[[Category:Widget methods]]

Latest revision as of 19:33, March 30, 2009

To set the font for this object please see, API_FontInstance_SetFont.

Instead of using FontInstance:SetFont use MyButtonObject:SetFont. Eg:

 local MyButton = CreateFrame('Button', 'ButtonGlobalName' or nil, ParentFrame or nil, ButtonTemplate or nil)
 MyButton:SetFont(FontPath or nil, FontSize or nil, FontExtra or nil)

Please, read API_FontInstance_SetFont for more exact details.

Around Wikia's network

Random Wiki