Skip to main content

dropdown_area

Function dropdown_area 

Source
pub fn dropdown_area(anchor: Rect, rows: u16, screen: Rect) -> Rect
Expand description

The box of rows list rows with its border, anchor wide and left-aligned with it: on the row below anchor, or above it when there is no room below and more above, cut to fit the side chosen. Moved left to stay inside screen.