Forgot to mention
The actual Iconbank needs to be locked down for this to work
that means you need to figure out your max size, (widht,height)
Width=(iconsize+iconpadding)x(number_of_icons_per_row) + 2
Height= (iconsize+iconpadding)x(number_of_rows) + 2
Then paste this into your Size, MaximumSize and Minimumsize properties.
this keeps it from resizing and giving you wierd results.
it helps while testing to enable "render outlines". this gives you a box around each icon position.
|