Enum Stretch

Controls whether widget occupies all available width/height in a linear layout

enum Stretch : ubyte { ... }

Enum members

NameDescription
both
cross Applies along secondary axis, i.e. by height in horizontal layouts and by width in vertical ones
main Applies along main axis, i.e. by width in horizontal layouts and by height in vertical ones
none