Syntax
Success = LayoutGridSetSpanModeColumns(Layout, SpanMode)Description
Sets the sizing mode specifically for handling items that span multiple columns in a Grid layout.
Parameters
Layout
The handle of the Grid layout object. If #Null, it targets
the current layout.
SpanMode
The span sizing mode constant for columns.
#PG_Grid_SpanMode_Tight : (default) Spanned items' content size requirements are distributed primarily to flexible tracks within their span first.
#PG_Grid_SpanMode_Even : Spanned items' content size requirements are distributed evenly among all tracks within their span.
Return Value
Returns #True if the column span mode was successfully
set, or #False if the layout handle or mode was
invalid.
Remarks
This property only applies to layouts whose type is
#PG_Layout_Type_Grid. It allows fine-grained control over
column sizing when items span across multiple columns.
See Also
LayoutSetType, LayoutGridGetSpanModeColumns, LayoutGridSetSpanMode, LayoutGridSetSpanModeRows, WidgetSetColumnSpan
Supported OS
Windows, Linux