Skip to main content

body_width

Function body_width 

pub fn body_width(window: Rect, max_width: f64, theme: &Theme) -> f64
Expand description

Width the caller’s body is laid into: the sheet minus its padding. Equal to layout(..).body.width() for the same inputs.