Skip to main content

card_column_width

Function card_column_width 

pub fn card_column_width(avail_w: f64, cols: usize, gap: f64) -> f64
Expand description

The width of each of cols columns that, with gap between them, fill avail_w exactly. Never negative.