FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WrapPanelItemsAlignment

    enum · ferroui-controls · v0.5.0

    enum WrapPanelItemsAlignment
    

    Defines how items are aligned and spaced in a WrapPanel.

    View source

    Members

    Start

    Start = 0
    

    Items are laid out so the first one in each column/row touches the top/left of the panel.

    Source

    Center

    Center = 1
    

    Items are laid out so that each column/row is centred vertically/ horizontally within the panel.

    Source

    End

    End = 2
    

    Items are laid out so the last one in each column/row touches the bottom/right of the panel.

    Source

    Justify

    Justify = 3
    

    Items are laid out with equal spacing between them within each column/row.

    Source

    Stretch

    Stretch = 4
    

    Items are stretched evenly to fill the entire height/width of each column/row (the last line excluded).

    Source

    StretchAll

    StretchAll = 5
    

    Items are stretched evenly to fill the entire height/width of each column/row (the last line included).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.