Originally Posted by Coldfury
@Caellian:
try using "SetFont" instead of "SetFontString".
ie.: self.DruidManaText = SetFont(font, 10)
which lead me to the question... why use setfontstring? what does it have more than setfont? whats the point of setting a parent there?
|
I use SetFontString instead of CreateFontString because i have a SetFontString function at the top of my layout including all the default i want for all my fonts, so i don't have to repeat them each time. I don't know if it's a good reason but that's why i do that
Code:
self.DruidManaText = SetFont(self.Portrait2, font, 10)
Didn't work
Code:
Interface\AddOns\oUF_Caellian\oUF_Caellian.lua:458: attempt to call global 'SetFont' (a nil value)
But anyway, i really have no clue why it works for everything but DruidMana.