
rowSpan
The row height is permanently defined in the FormLayout and cannot be changed. However, you can use the rowSpan parameter to set a height multiplier. The rowSpan is comparable to the colSpan, for example in the MatrixLayout, but is vertical. The rowSpan ensures that the UI elements in the FormLayout are arranged in a fixed height pattern. This fixed height pattern enables multiple UI elements to be arranged in a horizontal alignment beside one another. The pattern also applies if container UI elements such as TransparentContainer are used. In this case, however, a rowSpan of -1 must be specified for the receiving row. In addition, the first UI element in the row must be a container and the FormLayout must also be used in the container. Other container elements, such as Group, are not adapted in line with the height pattern. Do not use this in a FormLayout. Instead, replace it with a TransparentContainer with SectionHeader.
Caution
Specify the SectionHeader in the TransparentContainer.labeledBy. Otherwise, a runtime error occurs.
UI elements that do not use the height pattern of the FormLayout should no longer be used. These include the RadioButtonGroup, CheckBoxGroup, and the container element Group. For some UI elements, such as Image and Table, the application developer must adjust the size of the UI element to the size of the space reserved with colSpan and rowSpan or adapt the space reserved to the UI element. If rowSpan is equal to -1, the first element in the row determines the height. If the first element is not a container, the height is set to a row height. If the first element is a container, the height of the highest element in the row is used as the row height.
Active UI elements must not be used.