Added min width and height to window
parent
e32560a7e4
commit
ad6cfa27e6
|
|
@ -22,7 +22,9 @@ function createWindow () {
|
|||
mainWindow = new BrowserWindow({
|
||||
height: 563,
|
||||
useContentSize: true,
|
||||
width: 1000
|
||||
width: 1000,
|
||||
minHeight:600,
|
||||
minWidth:400,
|
||||
})
|
||||
|
||||
mainWindow.loadURL(winURL)
|
||||
|
|
|
|||
Loading…
Reference in New Issue