Method LayoutManager():resize() Foundation

Handles resize operations.

Syntax
:resize( <aOld>, <aNew> ) -> lSuccess
Parameters
<aOld>
An array with two elements with the old width and height of the container.
<aNew>
An array with two elements with the new width and height of the container.
Return

The method returns a logical value indicating success (.T.) or failure (.F.) of the operation.

Description

The :resize() method handles resize operations performed on the container to which the layout manager object is assigned. Depending on the values in the :layoutAlign instance variable of the childs, :resize()may change the positions and/or dimensions of the child elements in the container.

:resize() is called automatically by the system each time the container is resized.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.