Skip to main content

SizedBox

Function SizedBox 

Source
pub fn SizedBox<State>(
    width: Option<f64>,
    height: Option<f64>,
) -> SizedBoxView<State>
where State: 'static,
Expand description

A box that forces width/height where Some, passing through where None.

Childless by default (a spacer); attach content with SizedBoxView::child.