Skip to content

HorizontalLayout

extends LayoutGroup

The HorizontalLayout automatically arranges all of its child controls in a horizontal direction.

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

成员变量

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