From f294d69224fbbc2b23843162186396eefb8c8347 Mon Sep 17 00:00:00 2001 From: tarzzz Date: Mon, 23 Sep 2019 15:58:50 -0400 Subject: [PATCH] Add some additional options. --- src/component/plotly-dash-preview/render.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/component/plotly-dash-preview/render.js b/src/component/plotly-dash-preview/render.js index dbcc3e23..41a2db19 100644 --- a/src/component/plotly-dash-preview/render.js +++ b/src/component/plotly-dash-preview/render.js @@ -15,6 +15,8 @@ function render (info, opts, sendToMain) { const result = {} let windowOpts = info.browserSize ? info.browserSize : { 'width': 800, 'height': 600 } + windowOpts['enableLargerThanScreen'] = true + windowOpts['useContentSize'] = true windowOpts['show'] = opts.debug let win = remote.createBrowserWindow(windowOpts)