pub fn paint(scene: &mut Scene, transform: Affine, rect: Rect, theme: &Theme)
Paint a floating Panel’s body in rect: shadow, material, edge. Content is drawn on top by the caller.
rect