All Manuals > CAPI User Guide > 7 Laying Out CAPI Panes


7.4 Constraining the size of layouts

The size of a layout (often referred to as its geometry ) is calculated automatically on the basis of the size of each of its children. The algorithm used takes account of hints provided by the children, and from the description of the layout itself. Hints are specified via the panes' initargs when they are created. The various pane classes have useful default values for these initargs.

7.4.1 Default Constraints

7.4.2 Width and Height Constraints

7.4.3 Constraint Formats

7.4.4 Changing the constraints

CAPI User Guide (Macintosh version) - 30 Aug 2011