Enum Justify
Defines the alignment along the main axis, how is extra space distributed.
Namespace: UnityEngine.UIElements
Syntax
public enum Justify : int
Fields
Name | Description | Value |
---|---|---|
Center | Items are centered along the line. |
|
FlexEnd | Items are packed toward the end line. |
|
FlexStart | Items are packed toward the start line. Default Value. |
|
SpaceAround | Items are evenly distributed in the line with equal space around them. |
|
SpaceBetween | Items are evenly distributed in the line; first item is on the start line, last item on the end line. |