Classes
Form | A Container subclass that arranges its children in two columns. |
Bases: enaml.widgets.container.Container
A Container subclass that arranges its children in two columns.
The left column is typically Labels, but this is not a requirement. The right are the actual widgets for data entry. The children should be in alternating label/widget order. If there are an odd number of children, the last child will span both columns.
The Form provides an extra constraint variable, ‘midline’, which is used as the alignment anchor for the columns.
The ConstraintVariable giving the midline along which the labels and widgets are aligned.