Box layout
 
 
 

There are two box layouts: VBoxLayout (vertical) and HBoxLayout (horizontal). When you add a control (or even another layout) to these layouts, the controls are aligned either vertically or horizontally.

To add the controls, do one of the following:

The sample TutorialBox.py shows how to create a vertical layout containing: a label, a container occupying two thirds of the space, and a memo (text control) occupying the remaining space. See the BoxLayout.py sample for more examples.