Aller au contenu

Enumeration HrzProtocol.FlexCrossAxisAlignment

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

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


FLEX_CROSS_AXIS_START (0)

Places the children at the start of the cross axis.


FLEX_CROSS_AXIS_END (1)

Places the children at the end of the cross axis, depending on the maximum child size on the cross axis.


FLEX_CROSS_AXIS_CENTER (2)

Places the children at the center of the cross axis, depending on the maximum child size on the cross axis.


FLEX_CROSS_AXIS_STRETCH (3)

Stretches the children elements to the maximum cross size given by the parent of the flex container.