Function layout_for
pub fn layout_for(
window: Rect,
spec: &ModalSpec<'_>,
text_renderer: &mut TextRenderer,
theme: &Theme,
environment: InteractionEnvironment,
) -> ModalLayoutExpand description
Compute the geometry for spec inside window for a person reaching it
through environment: on a coarse pointer the sheet’s own controls take a
finger’s target.