Make the default_app unresizable.
This commit is contained in:
parent
28e266ac11
commit
764deab5c1
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ app.on('ready', function() {
|
|||
mainWindow = new BrowserWindow({
|
||||
width: 800,
|
||||
height: 600,
|
||||
resizable: false,
|
||||
'use-content-size': true,
|
||||
});
|
||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue