public class FormLayout extends Layout:
Form layout.
Rows should be declared with addRow, which creates label/field pairs and associates label mnemonics with their fields. A FormLayoutParams instance with fullRow set to true can still be used for separators or section titles.
layout = FormLayout()
form = Container(layout)
layout.addRow("&Login:", TextBox())| Modifier and Type | Member | Description |
|---|---|---|
| public property | columnSpacingcolumnSpacing as Int = 12 |
No summary. |
| public property | labelAlignlabelAlign as String = "start" |
No summary. |
| public property | labelWidthlabelWidth as Int = 0 |
No summary. |
| public property | rowSpacingrowSpacing as Int = 8 |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | FormLayoutFormLayout(rowSpacing as Int = 8, columnSpacing as Int = 12, labelWidth as Int = 0, labelAlign as String = "start"): |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | addRow | Adds a row using an existing label and automatically assigns its buddy. |
| public | addRow | Adds a `label / field` row and automatically links the label mnemonic to the field. |
| public | addRowaddRow(widget as Widget) as Void: |
Adds a widget spanning the full form width. |
| public override | layoutlayout(container as Container) as Void: |
No summary. |