electron win on resize code example
Example 1: electron no resize
mainWindow.setResizable(false);
Example 2: electron no resize
const mainWindow = new BrowserWindow({
width: 1600,
height: 900,
resizable: false,
});
mainWindow.setResizable(false);
const mainWindow = new BrowserWindow({
width: 1600,
height: 900,
resizable: false,
});