FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FlexAlignContent

    enum · ferroui-controls · v0.5.0

    enum FlexAlignContent
    

    Defines the alignment mode of the lines inside a FlexPanel along the cross-axis.

    View source

    Members

    FlexStart

    FlexStart = 0
    

    Lines are packed toward the start of the container.

    Source

    FlexEnd

    FlexEnd = 1
    

    Lines are packed toward the end of the container.

    Source

    Center

    Center = 2
    

    Lines are packed toward the center of the container.

    Source

    Stretch

    Stretch = 3
    

    Lines are stretched to take up the remaining space.

    This is the default value of FlexPanel::align_content.

    Source

    SpaceBetween

    SpaceBetween = 4
    

    Lines are evenly distributed in the container, with no space on either end.

    Source

    SpaceAround

    SpaceAround = 5
    

    Lines are evenly distributed in the container, with half-size spaces on either end.

    Source

    SpaceEvenly

    SpaceEvenly = 6
    

    Lines are evenly distributed in the container, with equal-size spaces between each line and on either end.

    Source

    Trait implementations

    Availability

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