LayoutFlexGetJustify

Syntax

JustifyMode = LayoutFlexGetJustify(Layout)

Description

Retrieves the current justification mode for a Flexbox layout container, indicating how space is distributed along the main axis.

Parameters

Layout
The handle of the Flexbox layout object. If #Null, it targets the current layout.

Return Value

Returns one of the justification constants if successful:

#PG_Flex_Justify_Start
#PG_Flex_Justify_Center
#PG_Flex_Justify_End
#PG_Flex_Justify_SpaceAround
#PG_Flex_Justify_SpaceBetween

Returns #False (0) if the layout handle is invalid or if the layout is not of type Flexbox.

See Also

LayoutSetType, LayoutFlexSetJustify

Supported OS

Windows, Linux