Enum Align
Defines the alignement behavior along an axis.
Namespace: UnityEngine.UIElements
Syntax
public enum Align : int
Fields
Name | Description | Value |
---|---|---|
Auto | Let Flex decide. |
|
Center | Items are centered on the axis. |
|
FlexEnd | End margin of the item is placed at the end of the axis. |
|
FlexStart | Start margin of the item is placed at the start of the axis. |
|
Stretch | Default. stretch to fill the axis while respecting min/max values. |