From 17c61acf65033d7201515fedafd5d4f8651cc846 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 17 Jan 2018 16:06:57 -0500 Subject: [PATCH] window sizes --- src/main.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 22f359a9..745a36de 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,10 +16,13 @@ function createWindow() { // Create the browser window. win = new BrowserWindow({ - x: 0, - y: 0, - width: primaryScreenSize.width, - height: primaryScreenSize.height, + width: primaryScreenSize.width < 950 ? primaryScreenSize.width : 950, + height: primaryScreenSize.height < 700 ? primaryScreenSize.height : 700, + minWidth: 680, + minHeight: 500, + title: app.getName(), + darkTheme: true, + vibrancy: 'ultra-dark', }); // and load the index.html of the app.