FREE TRIAL

|

☀
☾
struct

CrossLayout

A secondary axis configuration of an AutoLayout. Children will first be positioned along the cross axis before wrapping to the primary axis, a.k.a. the AutoLayout.Axis.

Fields

AutoSpace

A flag to indicate Spacing should automatically adjust relative to the space available in the parent container.

Axis

The axis along which children are positioned before wrapping to the primary axis.

ExpandToGrid

Makes the cross axis size of "Expanded" elements as well as "Auto" spacing more uniform, so the remaining overflow items better align to implicit grid cells.

ReverseOrder

Inverts the order children are positioned such that the child with the highest transform.siblingIndex is positioned first.

Spacing

The Length configuration inserted between children along the cross axis.

SpacingMinMax

The Min/Max values to clamp Spacing.

Static Fields

Disabled

A disabled CrossLayout.

Properties

Alignment

Alignment [-1, 1] of the children along the Cross Axis.

Enabled

False if Axis == Axis.None, otherwise true.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC