Enforce a minimum window size
This commit is contained in:

committed by
Scott Nonnenberg

parent
20fcd194d2
commit
9c21c3c7e6
2
main.js
2
main.js
@@ -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,
|
||||||
|
Reference in New Issue
Block a user