Spacer View

This content view is a native platform implementation of Spacer view represented by spacer value for the field type.

Following example shows a simple spacer view content:

{
    "type": "spacer"
}

Minimum Spacer Size

While the Spacer View is adaptive in the space adjustment it provides to the container view depending on the other views in the same container, a minimum size/length of the Spacer View can be specified by using minLength property like below:

{
    "type": "spacer",
    "minLength": 10
}

Last updated