Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AddCellOptions

Options for [[GridLayout.addCell]].

Hierarchy

  • AddCellOptions

Index

Properties

Optional alignment

alignment: BoxAlignment

Where the actor should be placed within the cell box. Defaults to [[GridLayout.defaultCellAlignment]].

column

column: number

The column index, with 0 on the left.

contents

contents: Actor

The actor to be placed in the grid cell. Must be parented to the grid root.

height

height: number

The height of this cell for layout purposes. Should include any desired padding.

row

row: number

The row index, with 0 at the top.

width

width: number

The width of this cell for layout purposes. Should include any desired padding.