Justify
Defines the alignment along the main axis, how is extra space distributed.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum Justify
Fields
Value | Description |
|---|---|
| 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. Space on the edge is half of the space between objects. |
| SpaceBetween | Items are evenly distributed in the line; first item is on the start line, last item on the end line. |
| SpaceEvenly | Items are evenly distributed in the line with equal space around them. |