Set minimum window size

This commit is contained in:
Gregory Ballantine 2023-04-12 19:31:24 -04:00
parent 8d47e4c4f5
commit a8c5f3a694

View File

@ -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,