Skip to main content

density_min_size

Function density_min_size 

pub fn density_min_size(
    base: Size,
    axes: TargetAxes,
    tokens: &InputTokens,
) -> Size
Expand description

Raise the named axes of a minimum size to tokens.target_size.

The axes not named are passed through untouched — a full-width list row passes [TargetAxes::HEIGHT] so its height reaches the target while its width stays whatever the layout gives it.