From ad6cfa27e69801bec9dc90e31c71079b9de9dbc7 Mon Sep 17 00:00:00 2001 From: Nikan Dalvand Date: Tue, 23 Jul 2019 12:29:09 +0430 Subject: [PATCH] Added min width and height to window --- src/main/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index e731221..00304c5 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -22,7 +22,9 @@ function createWindow () { mainWindow = new BrowserWindow({ height: 563, useContentSize: true, - width: 1000 + width: 1000, + minHeight:600, + minWidth:400, }) mainWindow.loadURL(winURL)