Skip to main content

layout

Function layout 

pub fn layout(
    window: Rect,
    spec: &ModalSpec<'_>,
    text_renderer: &mut TextRenderer,
    theme: &Theme,
) -> ModalLayout
Expand description

Compute the geometry for spec inside window.