pub fn pct(percent: impl Percent) -> Span
80 percent of the frame, or of the parent when it has a fixed size.
80
Rect::new().width(pct(80)).height(300.0)