Skip to Content

Column

Lays out its children in a vertical sequence. Maps to a UIToolkit VisualElement with FlexDirection.Column.

Constructor

Column

Creates an Column element.

ParameterDescription
mainAxisAlignmentAlignment along the vertical axis.
crossAxisAlignmentAlignment along the horizontal axis.
keyAn optional key for reconciliation identity.

Properties

CrossAxisAlignment

Controls how children are aligned along the horizontal axis. Defaults to Start.

MainAxisAlignment

Controls how children are distributed along the vertical axis. Defaults to Start.

Methods

ShouldRebuild

Last updated on