FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LineStackingStrategy

    enum · ferroui-controls · v0.5.0

    enum LineStackingStrategy
    

    Determines how the height of a line is chosen when a paragraph specifies a line height.

    View source

    Members

    MaxHeight

    MaxHeight = 0
    

    A line accommodates its tallest run and is at least the requested height.

    Source

    BlockLineHeight

    BlockLineHeight = 1
    

    Each line occupies the requested height, independently of its runs.

    Source

    BaselineToBaseline

    BaselineToBaseline = 2
    

    The distance from one baseline to the next is the requested height.

    Source

    Trait implementations

    Availability

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