Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sir Bob on Fri 20/01/2006 04:48:06

Title: Inventory - Spaces Between Icons
Post by: Sir Bob on Fri 20/01/2006 04:48:06
I have an inventory, but how do I add space between icons vertically and horizontally? The icons are touching in my inventory window.
Title: Re: Inventory - Spaces Between Icons
Post by: ScottDoom on Fri 20/01/2006 05:02:26
I'm not too sure but I'd start by searching InvWindow in the Help file of AGS.
Title: Re: Inventory - Spaces Between Icons
Post by: Ashen on Fri 20/01/2006 10:10:01
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.