Skip to main content

column_widths

Function column_widths 

Source
pub(super) fn column_widths(natural: &[f32], room: f32) -> Vec<f32>
Expand description

How wide each column is, of columns that would be natural wide if they had the room, in room: as wide as that if they fit, and otherwise the narrow ones as they are and the rest sharing what is left.