From f363a219baf7ca93843b1f1c77c1c3498bffc333 Mon Sep 17 00:00:00 2001 From: Jan Hovancik Date: Sat, 9 Jan 2021 15:30:22 +0100 Subject: [PATCH] Improve macOS Preferences window size --- app/preferences.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/preferences.js b/app/preferences.js index df0387bd2..adaf5e512 100644 --- a/app/preferences.js +++ b/app/preferences.js @@ -286,7 +286,7 @@ function setWindowHeight () { const classes = document.querySelector('body').classList const height = document.querySelector('body').scrollHeight if (classes.contains('darwin')) { - remote.getCurrentWindow().setSize(bounds.width, height + 22) + remote.getCurrentWindow().setSize(bounds.width, height + 32) } else if (classes.contains('win32')) { remote.getCurrentWindow().setSize(bounds.width, height + 40) }