Added min width and height to window

pull/14/head
Nikan Dalvand 2019-07-23 12:29:09 +04:30
parent e32560a7e4
commit ad6cfa27e6
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,9 @@ function createWindow () {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
height: 563, height: 563,
useContentSize: true, useContentSize: true,
width: 1000 width: 1000,
minHeight:600,
minWidth:400,
}) })
mainWindow.loadURL(winURL) mainWindow.loadURL(winURL)