From 66a1c3a14d88f25bc724086d02ddd86f2d69a431 Mon Sep 17 00:00:00 2001
From: dnelband <dnelband@gmail.com>
Date: Fri, 23 Aug 2019 08:39:34 -0400
Subject: [PATCH] changed default window dimensions

---
 app/configs/application.json | 4 ++--
 app/main.js                  | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/configs/application.json b/app/configs/application.json
index ec068e5..47abbd8 100644
--- a/app/configs/application.json
+++ b/app/configs/application.json
@@ -4,8 +4,8 @@
         "windowBounds": {
             "x": 0,
             "y": 0,
-            "width": 1024,
-            "height": 768
+            "width": 1250,
+            "height": 800
         }
     },
     "updateCheckAfter": 86400000, "//": "milliseconds"
diff --git a/app/main.js b/app/main.js
index 0d1c28d..22f7e2c 100644
--- a/app/main.js
+++ b/app/main.js
@@ -64,6 +64,7 @@ function stopOcsManager() {
 }
 
 function createWindow() {
+
     const appConfigStore = new ElectronStore({
         name: appConfigStoreStorage,
         defaults: appConfig.defaults
@@ -74,10 +75,9 @@ function createWindow() {
     mainWindow = new BrowserWindow({
         title: appPackage.productName,
         icon: windowIcon,
-        x: windowBounds.x,
-        y: windowBounds.y,
-        width: windowBounds.width,
-        height: windowBounds.height,
+        width: 1250,
+        height: 800,
+        center:true,
         webPreferences: {
             nodeIntegration: true
         }
-- 
GitLab