Syntax
Success = LayoutGridSetRowMin(Layout, Index=#Null, Size.d=#PG_Grid_Default)Description
Sets the minimum template size (min-height) for a specific row in a Grid layout. This acts as a lower bound for the row's calculated height.
Parameters
Layout
The handle of the Grid layout object. If #Null, it targets
the current layout.
Index (optional)
The 1-based index of the row to modify. If #Null or 0, it
targets the default minimum size for rows not explicitly defined.
Size.d (optional)
The minimum size for the row. Can be:
- A specific value (DIPs).
#PG_Grid_MaxContent: The minimum size is the intrinsic max-content size of items in the row.#PG_Grid_Default: Uses the layout's default minimum row size (LayoutGridSetRowMinDefault()).
Return Value
Returns #True if the minimum row size was successfully
set, or #False if the layout handle or parameters were
invalid.
Remarks
This property only applies to layouts whose type is
#PG_Layout_Type_Grid. It ensures that even if the row's
template size (e.g., #PG_Grid_Auto or a percentage)
calculates to a smaller value, the row will not shrink below this
minimum.
See Also
LayoutSetType, LayoutGridGetRowMin, LayoutGridSetRow, LayoutGridSetRowMax, LayoutGridSetRowMinDefault
Supported OS
Windows, Linux