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({
|
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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue