View Single Post
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