WrapPanelItemsAlignment
enum · ferroui-controls · v0.5.0
enum WrapPanelItemsAlignment
Defines how items are aligned and spaced in a WrapPanel.
Members
Start
Start = 0
Items are laid out so the first one in each column/row touches the top/left of the panel.
Center
Center = 1
Items are laid out so that each column/row is centred vertically/ horizontally within the panel.
End
End = 2
Items are laid out so the last one in each column/row touches the bottom/right of the panel.
Justify
Justify = 3
Items are laid out with equal spacing between them within each column/row.
Stretch
Stretch = 4
Items are stretched evenly to fill the entire height/width of each column/row (the last line excluded).
StretchAll
StretchAll = 5
Items are stretched evenly to fill the entire height/width of each column/row (the last line included).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherMarkupTypedValueTypeRegistrationCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.