Skip to main content

snap_window

Function snap_window 

Source
pub fn snap_window(app: AppHandle) -> Result<(), String>
Expand description

Leaves fullscreen or maximized and resizes the main window to the default aspect ratio, keeping its width where it fits on the screen.