Make the default_app unresizable.

This commit is contained in:
Cheng Zhao 2014-05-22 09:09:32 +08:00
parent 28e266ac11
commit 764deab5c1

View file

@ -17,6 +17,7 @@ app.on('ready', function() {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 800, width: 800,
height: 600, height: 600,
resizable: false,
'use-content-size': true, 'use-content-size': true,
}); });
mainWindow.loadUrl('file://' + __dirname + '/index.html'); mainWindow.loadUrl('file://' + __dirname + '/index.html');