BlockProps
trait · ferroui-view · v0.5.0
trait BlockProps: ElementBuilder
The properties and routed events of Block.
Members
text_alignment
fn text_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::media::TextAlignment, M>) -> Self
Sets Block::text_alignment_property.
line_height
fn line_height<M>(self: Self, value: impl IntoProp<f64, M>) -> Self
Sets Block::line_height_property.
line_stacking_strategy
fn line_stacking_strategy<M>(self: Self, value: impl IntoProp<ferroui_controls::documents::LineStackingStrategy, M>) -> Self
Sets Block::line_stacking_strategy_property.
margin
fn margin<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
Sets Block::margin_property.
flow_direction
fn flow_direction<M>(self: Self, value: impl IntoProp<ferroui_base::media::FlowDirection, M>) -> Self
Sets Block::flow_direction_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.