pub fn split_percent(y: f64, top: f64, height: f64) -> f64
The upper panel’s share of a stack height pixels tall whose top edge is at top, when the split bar is at y.
height
top
y