Originally Posted by barbol12
hello guys, i have a custom stance frame i just put in... and want to make a bg frame for it, that auto changes its size based on the number of stance buttons that are available/shown
for instance, if im on my war... to have a width = to the 3 stance buttons, vs a druid for 5 buttons.. or auto change if i switch to druid spec, balance, to give me 6 buttons, and vice versa for switching back...
|
You can use
GetNumShapeshiftForms() to accurately size your frame.