Class sap.ui.layout.form.ResponsiveLayoutModule: sap/ui/layout/form/ResponsiveLayout
Renders a Form
with a responsive layout. Internally the ResponsiveFlowLayout
is used. The responsiveness of this layout tries to best use the available space. This means that the order of the FormContainers
, labels and fields depends on the available space.
On the FormContainers
, FormElements
, labels and content fields, ResponsiveFlowLayoutData
can be used to change the default rendering.
We suggest using the ResponsiveGridLayout
instead of this layout because this is easier to consume and brings more stable responsive output.
Note: If ResponsiveFlowLayoutData
are used this may result in a much more complex layout than the default one. This means that in some cases, the calculation for the other content may not bring the expected result. In such cases, ResponsiveFlowLayoutData
should be used for all content controls to disable the default behavior.
This control cannot be used stand alone, it only renders a Form
, so it must be assigned to a Form
.
Since: 1.16.0.
sClassName
and enriches it with the information contained in oClassInfo
.sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.layout.form.FormLayout.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |