Skip to main content

MIN_RATIO

Constant MIN_RATIO 

Source
pub const MIN_RATIO: f32 = 0.05;
Expand description

Minimum fraction a side of a split may hold — keeps a resize from collapsing a pane to nothing while still letting the cell arithmetic squeeze it (a 2-cell window splits 1/1 regardless).