View Single Post
04-13-11, 02:53 PM   #1
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 284
SetFont: change flags, not size?

I'm trying to set font flags while leaving font size alone. My first attempt used nil (no worky):
Code:
object:SetFont("file", nil, "flags")
My next attempt tries to reset the size to its default value (nope):
Code:
object:SetFont("file", (object:GetFont(select,2)), "flags")
I'm wondering if anyone can explain why method #1 doesn't work, and also correct the horribad syntax (and logic?) of my 2nd attempt. Thanks!
  Reply With Quote