Skip to main content

resized_above

Function resized_above 

Source
pub fn resized_above(open: &[bool], line: usize) -> Option<usize>
👎Deprecated since 0.5.0: moved to egui_stack::sections::plan, re-exported as egui_pop_core::sections::plan; this copy goes in the next release
Expand description

The section a boundary resizes, the one on the line under the section line: line itself when open, else the first open one above it, past any folded ones (they have no height to change); None when nothing above is open, and the boundary cannot move. open: whether each section is, top first.

Folded bands between do not change the distance: they follow the section, so the line stays under the pointer in both directions.