FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    HorizontalAlignment

    enum · ferroui-base · v0.5.0

    enum HorizontalAlignment
    

    Defines how a control aligns itself horizontally in its parent control.

    View source

    Members

    Stretch

    Stretch
    

    The control stretches to fill the width of the parent control.

    Source

    Left

    Left
    

    The control aligns itself to the left of the parent control.

    Source

    Center

    Center
    

    The control centers itself in the parent control.

    Source

    Right

    Right
    

    The control aligns itself to the right of the parent control.

    Source

    Trait implementations

    Availability

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