ori::prelude

Function max_height

Source
pub fn max_height<V>(max_height: f32, view: V) -> Constrain<V>
Expand description

Create a new Constrained view, constraining its content to a maximum height.