Space
On this page you find the documentation for the GUI Component Space
.
More configuration methods
This webpage only contains descriptions of the configuration methods that are specific to the Space
component. The Space
component also supports the configuration methods described on the page Component.
Introduction
The Space
component is a view whose sole purpose is to occupy space on the screen, so other children in Rows and Columns layouts are positioned as desired.
Example
class StartPage extends Page{
createGui(){
return Space.backgroundColor(`green`)
}
}