Skip to content

setHeight()

Set the object's height.

If the object is a Display, you can set height to FULL to fill the screen's height.

Parameters

Once an object item has been created, you can use the following function:

item.setHeight(height)
Parameter Type Default Description
height int or float required The new height, in pixels.