Link Search Menu Expand Document

DisplayObject.Layout property

Specifies how to arrange each element when the object is created as an array.

Constant Value Description
$ VERTICAL 0 Arrange the objects vertically.
TheY property of each element of the array has no effect.
$ HORIZONTAL 1 Arrange the objects horizontally.
TheX property of each element of the array has no effect.
$ BLANK 3 Do not line up. Each element of the array must be explicitly coordinated by a script.
$ OPTIMAL Four $ HORIZONTAL and adjust the position according to the string length of the label so that it is in the optimum arrangement.
Added since . Only CheckItem class and OptionItem class can be used.
Not supported in

Some classes automatically control the display position, and the Layout property setting may be invalid.