Thread Tools Display Modes
01-09-12, 06:31 PM   #1
DarkApple
A Defias Bandit
AddOn Compiler - Click to view compilations
Join Date: Dec 2011
Posts: 3
KGpanels Grow

I made a frame for the Class Bar(Donimoes) using KGpanels and I was wondering if there was any way to make the panel grow as the Class Bar grow(get new abilities). Any help would awsome. Thank you.
  Reply With Quote
01-12-12, 07:55 PM   #2
cormanthor
A Warpwood Thunder Caller
 
cormanthor's Avatar
AddOn Compiler - Click to view compilations
Join Date: Nov 2008
Posts: 97
You could use GetNumShapeshiftForms() in your OnEvent script to find out how many abilities you have on the bar. Multiply that by the button size and spacing (+/- 1 depending on your background).
You'll need to register some events in your OnLoad script:
PLAYER_ENTERING_WORLD
UPDATE_SHAPESHIFT_FORMS
__________________
Some days it's just not worth chewing through the restraints...
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » KGpanels Grow


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off