Show TOC

 GridLayout APILocate this document in the navigation structure

Definition

The grid layout (IWDGRidLayout) is a layout that arranges the UI elements in the UI element container in the form of a grid. The number of grid columns can be specified using the grid layout property colCount.

The UI element InvisibleElementallows you to fill cells that should not display anything.

Description of GridLayout Properties
  • cellPaddingSpecifies the padding of the UI element to the grid cell edge for all grid layout cells.
  • cellSpacingSpecifies the space between the individual grid cells for all grid layout cells.
  • colCountSpecifies the number of grid columns.
  • stretchedHorizontallySpecifies whether or not the UI elements match the container size of the horizontal alignment.
  • stretchedHorizontallySpecifies whether or not the UI elements match the container size of the vertical alignment.
    Note

    The following diagram illustrates how the GridLayout properties work:

Properties Overview
Name Interface Type Initial Value Bindable
cellPadding

IWDGridLayout

int

0

not_bindable

cellSpacing

IWDGridLayout

int

0

not_bindable

colCount

IWDGridLayout

int

1

not_bindable

stretchedHorizontally

IWDGridLayout

boolean

true

not_bindable

stretchedVertically

IWDGridLayout

boolean

true

not_bindable