Function bevy::ui::widget::text_constraint

pub fn text_constraint(
    min_size: Val,
    size: Val,
    max_size: Val,
    scale_factor: f64
) -> f32
Expand description

Defines how min_size, size, and max_size affects the bounds of a text block.