|
|
|
|
|
FlexGrow (Property) In french: FlexGrow
The FlexGrow property gets and sets the grow factor of an item in a line of a Flexbox control. Depending on the direction, if the Flexbox control is enlarged, items will grow horizontally or vertically to take up the available space (flex-grow).
FLEX_MyFlexbox.BTN_MyButton.FlexGrow = 2
FLEX_MyFlexbox.BTN_MyButton.FlexAlignSelf = fbasStretch
FLEX_MyFlexbox.BTN_MyButton.FlexShrink = 2
Syntax
Getting the grow factor of an item Hide the details
<Result> = <Control used>.FlexColumnGap
<Result>: Integer - 0, no growth.
- 1, default grow value. Depending on the direction of the Flexbox control, items will grow evenly to take up the available horizontal or vertical space.
- other value: Items will grow proportionally using this value to take up the available horizontal or vertical space.
<Control used>: Control name Name of the item within the Flexbox control.
Setting the grow factor of an item Hide the details
<Control used>.FlexColumnGap = <Grow factor>
<Control used>: Control name Name of the item within the Flexbox control. <Grow factor>: Integer New grow factor: - 0, no growth.
- 1, default grow value. Depending on the direction of the Flexbox control, items will grow evenly to take up the available horizontal or vertical space.
- other value: items will grow proportionally using this value to take up the available horizontal or vertical space.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|