Inventory - Spaces Between Icons

Started by Sir Bob, Fri 20/01/2006 04:48:06

Previous topic - Next topic

Sir Bob

I have an inventory, but how do I add space between icons vertically and horizontally? The icons are touching in my inventory window.

ScottDoom

I'm not too sure but I'd start by searching InvWindow in the Help file of AGS.

Ashen

#2
You need to set the ItemHeight/Width properties (either by scripting, or on the GUI editor) to slightly larger than the item graphics. Item 'spacing' is worked out based on these settings - if your graphics are larger than the set sizes, they'll overlap, if they're smaller there'll be space beween them. AFAIK, there's no other way to add spacing.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk