ori::core::views

Function max_width

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

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