(Formerly known as SetInvDimensions, which is now obsolete)
int InvWindow.ItemWidth;
Gets/sets the width of the items in the inventory window. You should generally set this
up in game_start to the width of your largest inventory item. The default is 40.
Example:
invMain.ItemWidth = 50;
invMain.ItemHeight = 30;
sets the invMain inventory window to use item cells 50x30 large.
See Also: InvWindow.ItemHeight,
InvWindow.ItemsPerRow
|