# Enum.ItemLineAlignment

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/ItemLineAlignment/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/ItemLineAlignment

Used for [`UIListLayout.ItemLineAlignment`](https://rapi.sleaze.dev/classes/UIListLayout.md) and [`UIFlexItem.ItemLineAlignment`](https://rapi.sleaze.dev/classes/UIFlexItem.md) in a flex layout to define the cross-directional alignment of siblings or the parent within a line.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Automatic` | 0 | Aligns the siblings of the [`UIListLayout`](https://rapi.sleaze.dev/classes/UIListLayout.md) or the specific [`UIFlexItem`](https://rapi.sleaze.dev/classes/UIFlexItem.md) parent to the layout's `HorizontalAlignment` or `VerticalAlignment`, depending on its `FillDirection`. If `HorizontalFlex` or `VerticalFlex` is enabled for the [`UIListLayout`](https://rapi.sleaze.dev/classes/UIListLayout.md) cross‑direction, [`Stretch`](https://rapi.sleaze.dev/enums/ItemLineAlignment.md) will be used for that direction. |
| `Start` | 1 | Aligns the siblings of the [`UIListLayout`](https://rapi.sleaze.dev/classes/UIListLayout.md) or the specific [`UIFlexItem`](https://rapi.sleaze.dev/classes/UIFlexItem.md) parent to the line's **top** in a horizontal fill or the line's **left** in a vertical fill. |
| `Center` | 2 | Aligns the siblings of the [`UIListLayout`](https://rapi.sleaze.dev/classes/UIListLayout.md) or the specific [`UIFlexItem`](https://rapi.sleaze.dev/classes/UIFlexItem.md) parent to the line's **center** in either a horizontal or vertical fill. |
| `End` | 3 | Aligns the siblings of the [`UIListLayout`](https://rapi.sleaze.dev/classes/UIListLayout.md) or the specific [`UIFlexItem`](https://rapi.sleaze.dev/classes/UIFlexItem.md) parent to the line's **bottom** in a horizontal fill or the line's **right** in a vertical fill. |
| `Stretch` | 4 | Stretches the siblings of the [`UIListLayout`](https://rapi.sleaze.dev/classes/UIListLayout.md) or the specific [`UIFlexItem`](https://rapi.sleaze.dev/classes/UIFlexItem.md) parent to fill the entire cross‑direction of the line in either a horizontal or vertical fill. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [UIFlexItem](https://rapi.sleaze.dev/classes/UIFlexItem.md): property `ItemLineAlignment`
- [UIListLayout](https://rapi.sleaze.dev/classes/UIListLayout.md): property `ItemLineAlignment`
