ClampLayout.setUnit

void setUnit(adw.types.LengthUnit unit)

Sets the length unit for maximum size and tightening threshold.

Allows the sizes to vary depending on the text scale factor.

Parameters

unitthe length unit