Preparing search index...

    Layout manager arranging widgets in a grid.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    enabled: boolean

    Whether the layout is active and responsive to user input.

    isNull: boolean

    Whether this object references a valid layout.

    spacing: number

    Distance between widgets in the layout.

    Methods

    • Add a layout to the grid at a specific row and column with alignment.

      Parameters

      Returns void

    • Add a widget to the grid at a specific row and column with alignment.

      Parameters

      Returns void

    • Add a widget to the grid spanning multiple rows and columns with alignment.

      Parameters

      • widget: Widget
      • fromRow: number
      • fromColumn: number
      • rowSpan: number
      • columnSpan: number
      • alignment: Alignment

      Returns void

    • Schedule layout for deletion after event processing.

      Returns void

    • Get the minimum width of a column.

      Parameters

      • column: number

      Returns number

    • Get the stretch factor of a column.

      Parameters

      • column: number

      Returns number

    • Get the minimum height of a row.

      Parameters

      • row: number

      Returns number

    • Get the stretch factor of a row.

      Parameters

      • row: number

      Returns number

    • Returns the name of this object's type.

      Returns string

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object refers to the same instance as the given object.

      Parameters

      Returns boolean

    • Set the minimum width of a column.

      Parameters

      • column: number
      • minSize: number

      Returns void

    • Set the stretch factor of a column.

      Parameters

      • column: number
      • stretch: number

      Returns void

    • Set the margins around layout contents.

      Parameters

      • left: number
      • top: number
      • right: number
      • bottom: number

      Returns void

    • Set the minimum height of a row.

      Parameters

      • row: number
      • minSize: number

      Returns void

    • Set the stretch factor of a row.

      Parameters

      • row: number
      • stretch: number

      Returns void