> 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/uiflexalignment.md).

# UIFlexAlignment

## Overview

UIFlexAlignment is an Enum that defines how remaining space is distributed in a layout.

It is used in the HorizontalFlex and VerticalFlex properties of UIListLayout, and determines how the sizes and spacing of child elements are adjusted.

## Items

| Name         | Value | Description                                                                                     |
| ------------ | ----- | ----------------------------------------------------------------------------------------------- |
| None         | 0     | Does not distribute the remaining space.                                                        |
| Fill         | 1     | Increases the size of child elements to fill the remaining space.                               |
| SpaceBetween | 2     | Places the first and last elements at both ends and divides the space between elements equally. |
| SpaceAround  | 3     | Places space of the same size on both sides of each element.                                    |
| SpaceEvenly  | 4     | Divides the space at both ends and between elements all into the same size.                     |

## See also

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