mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
Make the default_app unresizable.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user