API Docs for:
Show:

Object_GridLayout Class

Module: ui

A grid-layout which layouts all it sub-objects in a grid of rows and columns.

Properties

animator

vn.Component_Animator

The UI object's animator-component to execute different kind of animations like move, rotate, etc. on it.

behavior

gs.Component_GridLayoutBehavior

The behavior component to add grid-layout specific behavior.

cellSpacing

ui.Spacing

The spacing between the cells of the grid.

columns

Number

Number of columns for the grid.

controls

ui.Object_UIElement

The layout's sub-objects.

resizable

Boolean

Indicates if the layout is resizable.

rows

Number

Number of rows for the grid.

sizeToFit

Boolean

Indicates if the layouts resizes to fit its content.