Aller au contenu

Enumeration HrzProtocol.FlexMainAxisAlignment

Defined in hrz/protocol/vector/symbol_repr.proto.

How elements are distributed on the main axis in a flex layout


FLEX_MAIN_AXIS_START (0)

Packs the children at the start of the axis.


FLEX_MAIN_AXIS_END (1)

Packs the children at the end of the axis.


FLEX_MAIN_AXIS_CENTER (2)

Packs the children at the center of the axis.


FLEX_MAIN_AXIS_SPACE_BETWEEN (3)

Distributes the free space between each children.


FLEX_MAIN_AXIS_SPACE_AROUND (4)

Distributes the free space around each children.


FLEX_MAIN_AXIS_SPACE_EVENLY (5)

Distributes the free space between each children and at the start and end.