ClampScrollable.setUnit

Sets the length unit for maximum size and tightening threshold.

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

class ClampScrollable
void
setUnit

Parameters

unit adw.types.LengthUnit

the length unit