> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/enums/itemlinealignment.md).

# ItemLineAlignment

## Overview

ItemLineAlignment is an Enum that defines how child UI elements within a line are aligned on the cross axis.

It is used in the ItemLineAlignment property of UIListLayout and determines how elements are aligned along the axis perpendicular to the arrangement direction.

## Items

| Name      | Value | Description                                                                                                               |
| --------- | ----- | ------------------------------------------------------------------------------------------------------------------------- |
| Automatic | 0     | If Flex is applied to the cross axis, behaves as Stretch; otherwise, follows the alignment property. This is the default. |
| Start     | 1     | Aligns to the start of the line.                                                                                          |
| Center    | 2     | Aligns to the center of the line.                                                                                         |
| End       | 3     | Aligns to the end of the line.                                                                                            |
| Stretch   | 4     | Stretches to fit the size of the line.                                                                                    |

## See also

{% content-ref url="/pages/A0Ja7N3cvMKbKwxeUIsa" %}
[UIListLayout](https://docs.overdare.com/development/api-reference/classes/uilistlayout.md)
{% endcontent-ref %}
