Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-28-23, 02:51 AM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
fontString:SetFont()

I have an object from game to which I assign text:
Code:
object:SetText("my text")
I can also assign a font to it right away:
Code:
object:SetFont(My_Font, size)
But some objects don't allow me to assign a font so explicitly:
attempt to call method "SetFont" (a nill value)
The object receives, for example, the function:
Code:
for _,GTxtframe in GossipFrame.GreetingPanel.ScrollBox:EnumerateFrames() do
How to specify the exact name of the fontString element of object?

Last edited by Platine : 03-28-23 at 02:53 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » fontString:SetFont()

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off