From bcaa2d300657a82a0d5ae6cb6e8ceb47402d7a9f Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 14 Apr 2025 16:18:23 +0200 Subject: [PATCH] Increase default window size slightly, and increase size of Settings dialog --- electron/main/index.ts | 4 ++-- src/components/settings/Settings.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/electron/main/index.ts b/electron/main/index.ts index 31bad25..07dcb1a 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -83,8 +83,8 @@ export function quit() { async function createWindow() { // read any stored window settings from config, or use defaults let windowConfig = { - width: CONFIG.get("windowConfig.width", 900) as number, - height: CONFIG.get("windowConfig.height", 680) as number, + width: CONFIG.get("windowConfig.width", 940) as number, + height: CONFIG.get("windowConfig.height", 720) as number, isMaximized: CONFIG.get("windowConfig.isMaximized", false) as boolean, isFullScreen: CONFIG.get("windowConfig.isFullScreen", false) as boolean, x: CONFIG.get("windowConfig.x"), diff --git a/src/components/settings/Settings.vue b/src/components/settings/Settings.vue index cb399c6..7b21a6b 100644 --- a/src/components/settings/Settings.vue +++ b/src/components/settings/Settings.vue @@ -446,7 +446,7 @@ background: rgba(0, 0, 0, 0.5) .dialog - --dialog-height: 560px + --dialog-height: 600px --bottom-bar-height: 48px box-sizing: border-box z-index: 2 @@ -454,7 +454,7 @@ left: 50% top: 50% transform: translate(-50%, -50%) - width: 700px + width: 820px height: var(--dialog-height) max-width: 100% max-height: 100%