FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutableProps

    trait · ferroui-view · v0.5.0

    trait LayoutableProps: ElementBuilder
    

    The properties and routed events of Layoutable.

    View source

    Members

    width

    fn width<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Layoutable::width_property.

    Source

    height

    fn height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Layoutable::height_property.

    Source

    min_width

    fn min_width<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Layoutable::min_width_property.

    Source

    max_width

    fn max_width<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Layoutable::max_width_property.

    Source

    min_height

    fn min_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Layoutable::min_height_property.

    Source

    max_height

    fn max_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
    

    Sets Layoutable::max_height_property.

    Source

    margin

    fn margin<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
    

    Sets Layoutable::margin_property.

    Source

    horizontal_alignment

    fn horizontal_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self
    

    Sets Layoutable::horizontal_alignment_property.

    Source

    vertical_alignment

    fn vertical_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
    

    Sets Layoutable::vertical_alignment_property.

    Source

    use_layout_rounding

    fn use_layout_rounding<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
    

    Sets Layoutable::use_layout_rounding_property.

    Source

    Trait implementations

    Availability

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