LayoutableProps
trait · ferroui-view · v0.5.0
trait LayoutableProps: ElementBuilder
The properties and routed events of Layoutable.
Members
widthheightmin_widthmax_widthmin_heightmax_heightmarginhorizontal_alignmentvertical_alignmentuse_layout_rounding
width
fn width<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Layoutable::width_property.
height
fn height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Layoutable::height_property.
min_width
fn min_width<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Layoutable::min_width_property.
max_width
fn max_width<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Layoutable::max_width_property.
min_height
fn min_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Layoutable::min_height_property.
max_height
fn max_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Layoutable::max_height_property.
margin
fn margin<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
Sets Layoutable::margin_property.
horizontal_alignment
fn horizontal_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self
Sets Layoutable::horizontal_alignment_property.
vertical_alignment
fn vertical_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
Sets Layoutable::vertical_alignment_property.
use_layout_rounding
fn use_layout_rounding<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets Layoutable::use_layout_rounding_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.