From a924da10c20e9948824746d1405e9937451cbe68 Mon Sep 17 00:00:00 2001 From: beyondkmp Date: Sat, 5 Jul 2025 00:13:22 +0800 Subject: [PATCH] fix(WindowService): update default window dimensions to improve user experience (#7789) - Changed the default width from 1080 to 960 and height from 670 to 600 for the main window. - Adjusted minimum width and height settings to match the new defaults, enhancing compatibility with various screen sizes. --- src/main/services/WindowService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/services/WindowService.ts b/src/main/services/WindowService.ts index 65132eb54f..7c4f13a254 100644 --- a/src/main/services/WindowService.ts +++ b/src/main/services/WindowService.ts @@ -41,8 +41,8 @@ export class WindowService { } const mainWindowState = windowStateKeeper({ - defaultWidth: 1080, - defaultHeight: 670, + defaultWidth: 960, + defaultHeight: 600, fullScreen: false, maximize: false }) @@ -52,7 +52,7 @@ export class WindowService { y: mainWindowState.y, width: mainWindowState.width, height: mainWindowState.height, - minWidth: 1080, + minWidth: 960, minHeight: 600, show: false, autoHideMenuBar: true,