Enforce a minimum window size

This commit is contained in:
David Balatero
2017-06-14 09:39:17 -07:00
committed by Scott Nonnenberg
parent 20fcd194d2
commit 9c21c3c7e6

View File

@@ -82,6 +82,8 @@ function createWindow () {
const windowOptions = Object.assign({ const windowOptions = Object.assign({
width: 800, width: 800,
height: 610, height: 610,
minWidth: 700,
minHeight: 360,
webPreferences: { webPreferences: {
nodeIntegration: false, nodeIntegration: false,
//sandbox: true, //sandbox: true,