# Justify

> Defines the alignment along the main axis, how is extra space distributed.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public enum Justify
```

## Fields

| Value                                                                                          | Description                                                                                                                    |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [Center](/engine/6000.7/script-reference/unityengine/uielements/justify/center.md)             | Items are centered along the line.                                                                                             |
| [FlexEnd](/engine/6000.7/script-reference/unityengine/uielements/justify/flexend.md)           | Items are packed toward the end line.                                                                                          |
| [FlexStart](/engine/6000.7/script-reference/unityengine/uielements/justify/flexstart.md)       | Items are packed toward the start line. Default Value.                                                                         |
| [SpaceAround](/engine/6000.7/script-reference/unityengine/uielements/justify/spacearound.md)   | Items are evenly distributed in the line with equal space around them. Space on the edge is half of the space between objects. |
| [SpaceBetween](/engine/6000.7/script-reference/unityengine/uielements/justify/spacebetween.md) | Items are evenly distributed in the line; first item is on the start line, last item on the end line.                          |
| [SpaceEvenly](/engine/6000.7/script-reference/unityengine/uielements/justify/spaceevenly.md)   | Items are evenly distributed in the line with equal space around them.                                                         |
