Method

AdwWrapBoxset_justify

unstable since: 1.7

Declaration [src]

void
adw_wrap_box_set_justify (
  AdwWrapBox* self,
  AdwJustifyMode justify
)

Description [src]

Determines 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 AdwWrapBox:align.

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

Available since: 1.7

Sets propertyAdw.WrapBox:justify

Parameters

justify

Type: AdwJustifyMode

The justify mode.