Layout Managers

Access
-
Select a panel and open the Object Manager.
-
In the Resources card, choose a layout
from the layout choice menu.
Purpose
-
Control the layout of objects contained in a panel.
Types

FlowLayout lays objects side by side horizontally.
-
Each component appears in its desired size. For example, a button
appears in a size that accommodates its label.
-
Components appear in the order they are added to the panel. Once added,
they cannot be moved. For example, if you add a button, textfield, and
label to a panel in that order, you cannot move the label in front of
the textfield. You would either need to start over or delete the
textfield and add a new one.
Below is an example of a panel using the FlowLayout manager.

A null value allows you to place objects anywhere in a panel and to
move and resize them without limitation.

Guide to the Cosmo Code Development Environment
12-96*522