From 719cc3acaf7a8af6491030af8780ba5b32aecbe8 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 2 Mar 2016 18:21:44 -0800 Subject: [PATCH] window start smaller (500x300) --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index fde73901..69fad9bc 100644 --- a/index.js +++ b/index.js @@ -55,12 +55,12 @@ function createMainWindow () { var win = new electron.BrowserWindow({ backgroundColor: '#282828', darkTheme: true, - height: 400, + minWidth: 360, show: false, title: 'WebTorrent', titleBarStyle: 'hidden-inset', - width: 600, - minWidth: 360 + width: 500, + height: 300 }) win.loadURL('file://' + path.join(__dirname, 'main', 'index.html')) win.webContents.on('did-finish-load', function () {