Thread: Create a Button
View Single Post
11-28-09, 09:01 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,961
I don't recall ever having font alignment problems on my buttons but what I always did was use a pre-defined font type on it which may have been set up correctly.

After creating the button and setting the buttons features I would then do the following:

Code:
button:SetDisabledFontObject(GameFontDisable)
button:SetHighlightFontObject(GameFontHighlight)
button:SetNormalFontObject(GameFontNormal)
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote