From 74fc8b11eaccdf0cea060e5728f747dd3ece9825 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 2 Mar 2016 17:59:29 -0800 Subject: [PATCH] window: enforce minimum width --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8e008818..fde73901 100644 --- a/index.js +++ b/index.js @@ -59,7 +59,8 @@ function createMainWindow () { show: false, title: 'WebTorrent', titleBarStyle: 'hidden-inset', - width: 600 + width: 600, + minWidth: 360 }) win.loadURL('file://' + path.join(__dirname, 'main', 'index.html')) win.webContents.on('did-finish-load', function () {