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.
Properties
Section titled “Properties”layout-spacing
Section titled “layout-spacing” length (out) default: 0px
Defines the default layout spacing. This spacing is also used by VerticalBox, HorizontalBox and GridBox.
layout-padding
Section titled “layout-padding” length (out) default: 0px
Defines the default layout padding. This padding is also used by VerticalBox, HorizontalBox and GridBox.
© 2026 SixtyFPS GmbH