Added min width and height to window
parent
e32560a7e4
commit
ad6cfa27e6
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue