FREE TRIAL

|

☀
☾
struct

AutoLayout

Automatically position children sequentially along the X, Y, or Z axis

Fields

AutoSpace

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

Axis

The primary axis along which children are positioned.

Cross

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.

Offset

An offset applied to all children positioned by this AutoLayout along the AutoLayout Axis.

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.

SpacingMinMax

The Min/Max values to clamp Spacing.

Static Fields

Disabled

A disabled AutoLayout.

Horizontal

An AutoLayout configured to position elements along the X axis.

Vertical

An AutoLayout configured to position elements along the Y axis.

Zed

An AutoLayout configured to position elements along the Z axis.

Properties

Alignment

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

Enabled

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

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