Adw.WrapBox.set_child_spacing_unit

### Method

# Adw WrapBoxset_child_spacing_unit

since: 1.7

#### Declaration [src]

    void
    adw_wrap_box_set_child_spacing_unit (
      AdwWrapBox* self,
      AdwLengthUnit unit
    )

#### Description [src]

Sets the length unit for child spacing.

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

See `AdwWrapBox:child-spacing`.

Available since: 1.7

Sets property | `Adw.WrapBox:child-spacing-unit`

#### Parameters

`unit`

  Type: `AdwLengthUnit`

  The length unit.