Constant freya_elements::label::max_height  
source · pub const max_height: AttributeDescription;Expand description
§max_width & max_height
rect supports specifying a maximum width and height.
See syntax for Size Units.
§Usage
fn app() -> Element {
    rsx!(
        rect {
            background: "red",
            max_width: "50%",
            max_height: "50%",
            width: "500",
            height: "500",
        }
    )
}