FGX.Layout.Types.TfgAlignItems

Материал из FGX Native Докуметации
Версия от 18:09, 29 июня 2019; Admin (обсуждение | вклад) (summary)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к навигации Перейти к поиску

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.