Skip to main content

Spacer

The <spacer> element allows you to add empty spaces between two <layout> children.

Attributes​

AttributeTypeDefaultDescription
sizeINTEGER0The size in pixels of the empty space
flexINTEGER0Numerical value that represents the proportion of the available space that the spacer will be allotted
info

A <spacer> element must be placed inside a <layout> element.