enum

Tryst::UI::FlowAlign

Inherits Enum < Comparable < Value < Object

Where a flow container's children sit on its cross axis - the align: option on ui.column/ui.row.

Constants

Start = 0

Against the leading edge: left in a column, top in a row.

Center = 1

Centred on the cross axis.

End = 2

Against the trailing edge: right in a column, bottom in a row.

Stretch = 3

Filling the cross axis instead of being anchored anywhere on it.

Instance methods

center?

Returns true if this enum value equals Center

Source
end?

Returns true if this enum value equals End

Source
start?

Returns true if this enum value equals Start

Source
stretch?

Returns true if this enum value equals Stretch

Source