spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * GUI InvWindow functions and properties

ItemHeight property

(Formerly known as SetInvDimensions, which is now obsolete)

int InvWindow.ItemHeight;
Gets/sets the height of the rows in the inventory window. You should generally set this up in game_start to the height of your largest inventory item. The default is 22.

Example:

invMain.ItemWidth = 50;
invMain.ItemHeight = 30;
sets the invMain inventory window to use item cells 50x30 large.

See Also: InvWindow.ItemWidth, InvWindow.RowCount


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.