enum Adw::JustifyMode

Overview

Describes line justify behaviors in a #WrapLayout or #WrapBox.

See WrapLayout::justify and WrapBox::justify.

Defined in:

lib/gi-crystal/src/auto/adw-1/adw.cr

Enum Members

None = 0_u32

Don't justify children within a line.

Fill = 1_u32

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

Spread = 2_u32

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.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def fill? #

def none? #

def spread? #