enum sap.m.FlexAlignItems

Control sample: sap.m.FlexAlignItems
Visiblity: public
Available since: N/A
Module: sap/m/library
Application Component: CA-UI5-CTR

Available options for the layout of all elements along the cross axis of the flexbox layout.


Properties Overview

Node Description
sap.m.FlexAlignItems.Baseline

If the flex item`s inline axes are the same as the cross axis, this value is identical to "Start".

Otherwise, it participates in baseline alignment: all participating box items on the line are aligned such that their baselines align, and the item with the largest distance between its baseline and its cross-start margin edge is placed flush against the cross-start edge of the line.

sap.m.FlexAlignItems.Center

The flex item's margin boxes are centered in the cross axis within the line.

sap.m.FlexAlignItems.End

The cross-start margin edges of the flex items are placed flush with the cross-end edge of the line.

sap.m.FlexAlignItems.Inherit

Inherits the value from its parent.

sap.m.FlexAlignItems.Start

The cross-start margin edges of the flex items are placed flush with the cross-start edge of the line.

sap.m.FlexAlignItems.Stretch

Make the cross size of the item's margin boxes as close to the same size as the line as possible.