Constant freya_elements::elements::label::min_width
source · pub const min_width: (&'static str, Option<&'static str>, bool);
Expand description
Specify a minimum height for the given element. This can be useful if you use it alongside a percentage for the target size.
See syntax for Size Units
.
§Usage
fn app() -> Element {
rsx!(
rect {
background: "red",
min_width: "100",
min_height: "100",
width: "50%",
height: "50%",
}
)
}