|
|
|
|
FlexAlignItems (Property) In french: FlexAlignItems
The FlexAlignItems property gets and sets the alignment of the items in a line of a Flexbox control along the cross axis (corresponding CSS property: "align-items").
FLEX_MyFlexbox.FlexDirection = fbdColumn
FLEX_MyFlexbox.FlexWrap = fbwWrap
FLEX_MyFlexbox.FlexJustifyContent = fbjcCenter
FLEX_MyFlexbox.FlexAlignContent = fbacEnd
FLEX_MyFlexbox.FlexAlignItems = fbaiCenter
FLEX_MyFlexbox.FlexColumnGap = 5
FLEX_MyFlexbox.FlexRowGap = 50
Syntax
Getting the alignment of items in a line of a Flexbox control Hide the details
<Result> = <Control used>.FlexAlignItems
<Result>: Integer constant Alignment of items in a line of a Flexbox control:
| | fbaiBaseline | All the text of the items is aligned. | fbaiCenter | All items are centered. Depending on the direction of the Flexbox control, each item is centered according to its height or width. | fbaiEnd | Depending on the direction, items are aligned to the bottom or right edge of the Flexbox control. | fbaiStart | Depending on the direction, items are aligned to the top or left edge of the Flexbox control. | fbaiStretch | Depending on the direction of the Flexbox control, items stretch vertically or horizontally. |
<Control used>: Control name Name of the Flexbox control used.
Setting the alignment of items in a line of a Flexbox control Hide the details
<Control used>.FlexAlignItems = <New alignment>
<Control used>: Control name Name of the Flexbox control used. <New alignment>: Integer constant New alignment:
| | fbaiBaseline | All the text of the items is aligned. | fbaiCenter | All items are centered. Depending on the direction of the Flexbox control, each item is centered according to its height or width. | fbaiEnd | Depending on the direction, items are aligned to the bottom or right edge of the Flexbox control. | fbaiStart | Depending on the direction, items are aligned to the top or left edge of the Flexbox control. | fbaiStretch | Depending on the direction of the Flexbox control, items stretch vertically or horizontally. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|