FormCell Section Layout¶
Layout properties used in the formcell section, the layout type is vertical only.
When assigning a rule to a property of FormCell Section Layout, the rule will be passed an instance of the following proxy class as an argument:
FormCell Section Layout Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| MinimumInteritemSpacing | integer |
No | |
| NumberOfColumns | integer |
No | 1 |
MinimumInteritemSpacing¶
The minimum horizontal space between two items. If not provided, the SDK default will be used.
- type:
integer
NumberOfColumns¶
The number of columns to be displayed.
- In iOS, this setting is only valid in regular mode (iPad or large iPhone Landscape). In compact mode it will always be set to 1 column.
-
In Android, this setting is only valid when current screen width is larger than 600dp. When the current screen width (e.g. in phone portrait mode) is less than 600dp, it will always be set to 1 column.
-
type:
integer - default:
1
Examples¶
"Layout": {
"NumberOfColumns": 3,
"MinimumInteritemSpacing": 6
}
"Layout": {
"NumberOfColumns": 2
}