Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

UIListLayout

Last updated