Quote:
|
Originally Posted by Nitefang
unless my math is off... (which it could be lol)
icon size =12
padding =1
wanting 2 rows of 15 icons each,
so using 14 pix as my size...
14x15 = 210 horizontal
14x2 = 28 vertical
so I sized the window 212x30 pix - should be enough unless I'm not understanding something....
thanks for the reply 
|
I got slightly different numbers than you:
12*15+16px=196px (15 icons at 12px each, 1px padding between each, plus 2px for the beginning and end)
and
2*12+3=27px
So the IconBank would need to be 196x27px.
I used OnShow and OnHide in the IconBank to make the window resize when there are no buffs.
Code:
OnHide="Parent.MaximumSize=172,96" OnShow="Parent.MaximumSize=172,160"