Skip to main content

BoxLayout

This page provides generated reference documentation for the BoxLayout data model.

Overview

PropertySummary
directionDefines the direction of the Items in the Boxlayout e.g Horizontal / Vertical. This is always set to Vertical on mobile devices
maxDirectionElementsDefines the maximum amount of items per direction e.g. 3 items each row / column. If there are more items in the Layout than maxDirectionElements is set…
autoHeightFlag if the Layout should determine its height automatically. The automatic layout height is calculated by the height of its components.

direction

Type: EBoxLayoutDirection

Defines the direction of the Items in the Boxlayout e.g Horizontal / Vertical. This is always set to Vertical on mobile devices


maxDirectionElements

Type: Integer
Constraints: Minimum: 0, Maximum: Integer.MAX_VALUE
Requires: direction property group

Defines the maximum amount of items per direction e.g. 3 items each row / column. If there are more items in the Layout than maxDirectionElements is set to then the remaining items will be Wrapped into a new row / column (depending on the direction)


autoHeight

Type: Boolean

Flag if the Layout should determine its height automatically. The automatic layout height is calculated by the height of its components.