Skip to content

VerticalLayout

extends LayoutGroup

VerticalLayout automatically arranges all its child controls in a vertical direction.

To obtain a VerticalLayout object, refer to Control.layoutGroup.

成员变量

VerticalLayout.spacing : number
The spacing between child controls in a vertical layout.
VerticalLayout.reverse : boolean
Whether to reverse the filling of child controls in a vertical layout.