ClampLayout.unit

Get unit property.

  1. adw.types.LengthUnit unit [@property getter]
    class ClampLayout
    @property
    unit
    ()
  2. adw.types.LengthUnit unit [@property setter]

Return Value

Type: adw.types.LengthUnit

The length unit for maximum size and tightening threshold.

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