LayoutManager (SUI)

Controls the automatic layout behavior for a window or container.

The subclass AutoLayoutManager implements the default automatic layout behavior.

Methods:

layout, resize

Method Listing

undefined layout ()

Invokes the automatic layout behavior for the managed container.

Adjusts sizes and positions of the child elements of this window or container according to the placement and alignment property values in the parent and children. Invoked automatically the first time the window is displayed. Thereafter, the script must invoke it explicitly to change the layout in case of changes in the size or position of the parent or children.

undefined resize ()

Performs a layout after a Window is resized, based on the new size.

Resizes the child elements of the managed container with a given alignment type, after the window has been resized by the user.

Object of

Window (SUI).layout

Group (SUI).layout

Panel (SUI).layout