SUGGESTION: InvWindow.ColumnSpacing and InvWindow.RowSpacing

Started by monkey0506, Wed 13/09/2006 08:25:08

Previous topic - Next topic

monkey0506

I have a problem. On my GUI there is a two pixel gap between each item, however, if I set InvWindow.ItemWidth to the appropriate width (38 pixels), the items are displayed out of the grid and actually touching each other. If I set InvWindow.ItemWidth to 40 then the item actually shows up as being two pixels wider than it should be (i.e., the status bar registers the item while the cursor is over the gap (which should be nothing)).

So...if there was some sort of InvWindow.ColumnSpacing property, I could easily just set that. And of course there would need to be an InvWindow.RowSpacing property too.

But...as soon as this stuff gets done in the oven I'm off to bed...

Pumaman

So you want a non-clickable area between the items in the inventory window? Would anyone else use something like this?

Alynn

I could see a use for it, right now you have to manually space your inventory items using the inventory sprites themselves. It could be especially useful if you have a bunch of inventory items that take up the entirety of the inventory size, so they don't sit right next to each other.

monkey0506

Yay! Support!

Yes Chris, I think we understand each other.

Gilbert


SMF spam blocked by CleanTalk