Enforce a minimum window size
This commit is contained in:
parent
20fcd194d2
commit
9c21c3c7e6
1 changed files with 2 additions and 0 deletions
2
main.js
2
main.js
|
@ -82,6 +82,8 @@ function createWindow () {
|
|||
const windowOptions = Object.assign({
|
||||
width: 800,
|
||||
height: 610,
|
||||
minWidth: 700,
|
||||
minHeight: 360,
|
||||
webPreferences: {
|
||||
nodeIntegration: false,
|
||||
//sandbox: true,
|
||||
|
|
Loading…
Reference in a new issue