FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FlexBasisKind

    enum · ferroui-controls · v0.5.0

    enum FlexBasisKind
    

    Determines how a FlexBasis affects the size of the flex item.

    View source

    Members

    Auto

    Auto = 0
    

    Uses the measured width and height of the FlexPanel to determine the initial size of the item.

    Source

    Absolute

    Absolute = 1
    

    The initial size of the item is set to the FlexBasis value.

    Source

    Relative

    Relative = 2
    

    Indicates the FlexBasis value is a percentage, and the size of the flex item is scaled by it.

    Source

    Trait implementations

    Availability

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