Skip to content

StyleMetrics

Use StyleMetrics to create custom widgets that match the layout settings of the selected style e.g. fluent, cupertino, material, or qt.

See Widget Styles for details on the available styles.

length (out) default: 0px

Defines the default layout spacing. This spacing is also used by VerticalBox, HorizontalBox and GridBox.

length (out) default: 0px

Defines the default layout padding. This padding is also used by VerticalBox, HorizontalBox and GridBox.


© 2026 SixtyFPS GmbH