pub fn resize_and_center(
window: &WebviewWindow,
width: f64,
height: f64,
shadow: bool,
) -> CommandResult<()>Expand description
Resize window to (width, height) logical pixels, toggle its native
shadow, and re-center it. A maximized window ignores set_size on
Windows, so maximize is dropped first.