FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BaselineAlignment

    enum · ferroui-base · v0.5.0

    enum BaselineAlignment
    

    Enum specifying where a box should be positioned vertically.

    View source

    Members

    Top

    Top
    

    Align top toward the top of the container.

    Source

    Center

    Center
    

    Center vertically.

    Source

    Bottom

    Bottom
    

    Align bottom toward the bottom of the container.

    Source

    Baseline

    Baseline
    

    Align at the baseline.

    Source

    TextTop

    TextTop
    

    Align toward the text's top of the container.

    Source

    TextBottom

    TextBottom
    

    Align toward the text's bottom of the container.

    Source

    Subscript

    Subscript
    

    Align the baseline to the subscript position of the container.

    Source

    Superscript

    Superscript
    

    Align the baseline to the superscript position of the container.

    Source

    Trait implementations

    Availability

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