Set minimum window size
This commit is contained in:
parent
8d47e4c4f5
commit
a8c5f3a694
2
main.js
2
main.js
@ -7,6 +7,8 @@ function createWindow () {
|
|||||||
const mainWindow = new BrowserWindow({
|
const mainWindow = new BrowserWindow({
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 700,
|
height: 700,
|
||||||
|
minWidth: 725,
|
||||||
|
minHeight: 600,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true,
|
nodeIntegration: true,
|
||||||
contextIsolation: false,
|
contextIsolation: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user