-
Notifications
You must be signed in to change notification settings - Fork 11
FormLayout
A layout created to make the creation of forms easier.
N/A
void addRow (* Widget widget*)
void addRow (Layout layout)
void addRow (Widget label, Widget field)
void addRow (Widget label, Layout field)
void addRow (String label, Widget field)
void addRow (String label, Layout field)
- Add a row to the form layout. If a label is specified, added row is split into two columns, with a label and a field.
void insertRow (int index, Widget widget)
void insertRow (int index, Layout layout)
void insertRow (int index, Widget label, Widget field)
void insertRow (int index, Widget label, Layout field)
void insertRow (int index, String label, Widget field)
void insertRow (int index, String label, Layout field)
- Insert a row to the form layout. If a label is specified, inserted row is split into two columns, with a label and a field.
int rowCount ()
- Return the number of rows in the layout.
int/void verticalSpacing ([int amount])
-
If an argument is given, the form's vertical spacing is set to amount.
-
If no argument is given, return the vertical spacing between rows.
int/void spacing ([int spacing])
-
If an argument is given, the form's spacing is set to amount.
-
If no argument is given, return the spacing between rows.