Skip to main content

anchored_room

Function anchored_room 

pub fn anchored_room(
    anchor: Rect,
    side: PopoverSide,
    gap: f64,
    viewport: Rect,
) -> f64
Expand description

The room a Panel has on side of anchor, gap away, inside viewport: the most a menu opening there can grow before it scrolls.