FGX.Layout.Types.TfgAlignItems

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску

Delphi

TfgAlignItems = (Stretch, FlexStart, FlexEnd, Center)

Описание

The AlignItems property describes how to align children along the cross axis of their container. AlignItems is very similar to JustifyContent but instead of applying to the main axis, it applies to the cross axis.

The only non-obvious option of the four is Stretch. With AlignItems = Stretch you instruct children to match the size of their container in the cross axis.