Skip to content

Common Properties

These properties are valid on all visible items and can be used to specify constraints when used in layouts:

int default: 0

See GridLayout.

int default: 0

See GridLayout.

float (in-out) default: 0.0

Specify how much relative space these elements are stretching in a layout. When 0, this means that the elements won’t be stretched unless all elements are 0. Builtin widgets have a value of either 0 or 1.

length default: 0px

The maximum size of an element.

length default: 0px

The minimum size of an element.

length default: 0px

The preferred size of an element.


© 2025 SixtyFPS GmbH