Quantcast WoWInterface - View Single Post - oUF - Layout discussion
View Single Post
Unread 10-03-08, 05:43 PM   #19
A Frostmaul Preserver
Caellian's Avatar
Join Date: May 2006
Posts: 281
Originally Posted by Coldfury View Post

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

self.DruidManaText = SetFont(self.Portrait2, font, 10)
Didn't work

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.
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline