An options object for initializing a grid layout.

interface IOptions {
    columnCount?: number;
    columnSpacing?: number;
    fitPolicy?: FitPolicy;
    rowCount?: number;
    rowSpacing?: number;
}

Hierarchy (view full)

Properties

columnCount?: number

The initial column count for the layout.

The default is 1.

columnSpacing?: number

The spacing between columns in the layout.

The default is 4.

fitPolicy?: FitPolicy

The fit policy for the layout.

The default is 'set-min-size'.

rowCount?: number

The initial row count for the layout.

The default is 1.

rowSpacing?: number

The spacing between rows in the layout.

The default is 4.