g-cnt-vert-align attribute¶
Type: Enumerated string
Default: inherit from parent
Allows breakdown by screen size: Yes
Description: Specifies vertical alignment for the children of the control.
| Value | Description |
|---|---|
"top" |
Aligns the children controls at the top of the content area. |
"center" |
Aligns the children controls at the center of the content area. |
"bottom" |
Aligns the children controls at the bottom of the content area. |
The following aliases are also accepted:
| Alias | Value |
|---|---|
"middle" |
"center" |
Inheritance¶
The g-cnt-vert-align value is applied recursively to inner controls.
-
If the
g-cnt-vert-alignattribute is not defined for a control, the vertical alignment used is the value defined by the parentg-cnt-vert-alignattribute. -
If the parent control does not define a
g-cnt-vert-align, the grid system will recursively search for the first ancestor control that defines a value forg-cnt-vert-alignand use that value. -
If no ancestor control defines a
g-cnt-vert-alignattribute, the default"top"value is used.