pub fn normalize_sizes(
sizes: Option<&[Value]>,
count: usize,
limits: &[PanelLimits],
) -> Vec<f64>Expand description
The sizes a group of count panels starts with: the valid given sizes
(finite, ≥ 0), the missing ones sharing what is left of 100 (equal split
when none is given), scaled to sum 100, each clamped into its [min, max]
(a collapsible panel may stay 0) with the difference handed to the
panels with room, in order. A min above 100 / count is lowered to it.