pub fn set_viewport_size(width: u32, height: u32)Expand description
Record the main surface’s physical dimensions. The runtime calls this
on every configure, before App::on_resize; embedders driving
core::UiSurface directly should call it
themselves if they want viewport_size / orientation to reflect
their surface.