Adw.WrapLayout.set_justify

### Method

# Adw WrapLayoutset_justify

since: 1.7

#### Declaration [src]

    void
    adw_wrap_layout_set_justify (
      AdwWrapLayout* self,
      AdwJustifyMode justify
    )

#### Description [src]

Sets whether and how each complete line should be stretched to fill the entire widget.

If set to `ADW_JUSTIFY_FILL`, each widget in the line will be stretched, keeping consistent spacing, so that the line fills the entire widget.

If set to `ADW_JUSTIFY_SPREAD`, the spacing between widgets will be increased, keeping widget sizes intact. The first and last widget will be aligned with the beginning and end of the line. If the line only contains a single widget, it will be stretched regardless.

If set to `ADW_JUSTIFY_NONE`, the line will not be stretched and the children will be placed together within the line, according to `AdwWrapLayout:align`.

By default this doesn’t affect the last line, as it will be incomplete. Use `AdwWrapLayout:justify-last-line` to justify it as well.

Available since: 1.7

Sets property | `Adw.WrapLayout:justify`

#### Parameters

`justify`

  Type: `AdwJustifyMode`

  The justify mode.