From 8c567c5283ddb12f36a58175e210a81781ba9eab Mon Sep 17 00:00:00 2001 From: tisfeng Date: Thu, 1 Feb 2024 11:48:58 +0800 Subject: [PATCH] perf: adjust settings page window size --- Easydict/NewApp/View/SettingView/SettingView.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Easydict/NewApp/View/SettingView/SettingView.swift b/Easydict/NewApp/View/SettingView/SettingView.swift index 81333b8ee..1378828a3 100644 --- a/Easydict/NewApp/View/SettingView/SettingView.swift +++ b/Easydict/NewApp/View/SettingView/SettingView.swift @@ -65,11 +65,13 @@ struct SettingView: View { window.standardWindowButton(.zoomButton)?.isEnabled = false // Keep the settings page windows all the same width to avoid strange animations. - let maxWidth = 650 + let maxWidth = 750 let height = switch selection { case .general: - maxWidth - case .service, .disabled: + maxWidth - 100 + case .service: + 600 + case .disabled: 500 case .privacy: 320