JustifyMode#

Added in version 1.7.

class JustifyMode#

Describes line justify behaviors in a WrapLayout or WrapBox.

See justify and justify.

Fields#

class JustifyMode
FILL#

Stretch each child within the line, keeping consistent spacing, so that the line fills the entire length.

NONE#

Don’t justify children within a line.

SPREAD#

Increase spacing between children, moving the children so that the first and last child are aligned with the beginning and end of the line. If the line only contains a single widget, it will be stretched regardless.