g-cnt-min-grid-width
attribute¶
Type: Real number (pixel count)
Default: inherit from parent
Allows breakdown by screen size: Yes
Description: Specifies the minimum width, measured in pixels, that the entire 12 columns of the content should have.
Note
This attribute is used when mixing col
role controls and block
role controls in a layout.
As explained here, controls with a block
role shrink the available 12-column width.
This attribute defines the minimum width that the 12 columns should have before a line break occurs.
If the col
controls' width on screen is too small when mixed with block
controls, use this attribute to inform what is the minimum required width for the 12 columns to properly display the col
controls.
If you want to specify the minimum grid width in terms of proportion of the control's width, use the g-cnt-min-grid-width-ft
instead.
Warning
Do not define values for both g-cnt-min-grid-width
and g-cnt-min-grid-width-ft
at the same time as they are mutually exclusive.
Inheritance¶
The g-cnt-min-grid-width
value is applied recursively to inner controls.
-
If neither
g-cnt-min-grid-width
norg-cnt-min-grid-width-ft
attribute is defined for a control, the value defined by its parentg-cnt-min-grid-width
org-cnt-min-grid-width-ft
attribute is used. -
If the parent control does not define
g-cnt-min-grid-width
norg-cnt-min-grid-width-ft
, the grid system will recursively search for the first ancestor control that defines a value forg-cnt-min-grid-width
org-cnt-min-grid-width-ft
and use that value. -
If no ancestor control defines
g-cnt-min-grid-width
norg-cnt-min-grid-width-ft
attribute, the default0
value is used.