View Single Post
  #4  
Unread 12-16-2006, 08:57 PM
mortis42's Avatar
mortis42 mortis42 is offline
A Mist Grinnin
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Antonia Bayle
Posts: 76
Default

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"
__________________
Thist
Reply With Quote