diff --git a/v2/src/wry/webview.rs b/v2/src/wry/webview.rs index 29f128a..676956f 100644 --- a/v2/src/wry/webview.rs +++ b/v2/src/wry/webview.rs @@ -171,7 +171,10 @@ pub struct WebViewRenderer { impl WebViewRenderer { pub fn new(config: &Config, event_loop: &EventLoop, mut menu: Menu) -> Result { - let mut builder = WindowBuilder::new().with_title("Shiba").with_visible(false); + let mut builder = WindowBuilder::new() + .with_title("Shiba") + .with_visible(false) + .with_min_inner_size(PhysicalSize { width: 100, height: 100 }); let window_state = if config.window().restore { config.data_dir().load() } else { None }; let (zoom_level, always_on_top) = if let Some(state) = window_state {