pub fn relax_weight(other_weights: f64, pane_size: i32, free_space: i32) -> f64Expand description
The closed form for Splitter::relax: the weight to
give a pane currently sized pane_size so that making it flexible does not
move any divider. other_weights = sum of the currently flexible panes’
weights; free_space = current free cells (total content minus the sum of
mins). Returns the weight; if free_space <= 0 falls back to 1.0.