Skip to content
On this page

Space

On this page you find the documentation for the GUI Component Space.

Introduction

The Space component is a layout that can contain one optional child. If a child is provided, the child will occupy the same space as the Space component (with the exception of the padding added to the Space component).

Example

You pass the child to the Space component as its main content.

Common usage

A common usage of the Space component is to just occupy space, so other children in a layout are positioned as desired (see examples in the documentation for the Cols and Rows components).