|
|
|
|
FlexAlignSelf (Property) In french: FlexAlignSelf
The FlexAlignSelf property gets and sets the alignment of an item along the cross axis of a Flexbox control (corresponding CSS property: "align-self").
FLEX_MyFlexbox.BTN_MyButton.FlexGrow = 2
FLEX_MyFlexbox.BTN_MyButton.FlexAlignSelf = fbasStretch
FLEX_MyFlexbox.BTN_MyButton.FlexShrink = 2
Syntax
Getting the alignment of an item along the cross axis of a Flexbox control Hide the details
<Result> = <Control used>.FlexAlignSelf
<Result>: Integer constant Alignment of an item in a Flexbox control:
| | fbasAuto | The alignment of the item along the cross axis is defined by the Flexbox control. | fbasBaseline | Alignment is set based on the text baseline. | fbasCenter | The item is centered along the cross axis. | fbasEnd | The item is positioned at the end of the line. | fbasStart | The item is positioned at the start of the line. | fbasStretch | The item will stretch to fill the Flexbox control along the cross axis. |
<Control used>: Control name Name of the item manipulated in the Flexbox control.
Setting the alignment of an item along the cross axis of a Flexbox control Hide the details
<Control used>.FlexAlignSelf = <New alignment>
<Control used>: Control name Name of the item manipulated in the Flexbox control. <New alignment>: Integer constant New alignment of the item along the cross axis of the Flexbox control:
| | fbasAuto | The alignment of the item along the cross axis is defined by the Flexbox control. | fbasBaseline | Alignment is set based on the text baseline. | fbasCenter | The item is centered along the cross axis. | fbasEnd | The item is positioned at the end of the line. | fbasStart | The item is positioned at the start of the line. | fbasStretch | The item will stretch to fill the Flexbox control along the cross axis. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|