Skip to main content

columns_for

Function columns_for 

pub fn columns_for(width: f32, min: f32, gap: f32) -> usize
Expand description

The number of equal columns of at least min that fit width with gap between them: as many as fit, and one at least.