From 06e9b16bfc70e2c1a11e0f02896404ecceb7bc9e Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Tue, 7 Apr 2026 19:37:41 +0700 Subject: [PATCH] fix: reduce main window min size to fit smaller screens --- TablePro/ContentView.swift | 2 +- TablePro/Views/Connection/WelcomeWindowView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TablePro/ContentView.swift b/TablePro/ContentView.swift index 62524fba8..7c01696c8 100644 --- a/TablePro/ContentView.swift +++ b/TablePro/ContentView.swift @@ -72,7 +72,7 @@ struct ContentView: View { var body: some View { mainContent - .frame(minWidth: 1_200, minHeight: 600) + .frame(minWidth: 720, minHeight: 480) .confirmationDialog( "Delete Connection", isPresented: $showDeleteConfirmation, diff --git a/TablePro/Views/Connection/WelcomeWindowView.swift b/TablePro/Views/Connection/WelcomeWindowView.swift index bca242c8f..a0c9a90ae 100644 --- a/TablePro/Views/Connection/WelcomeWindowView.swift +++ b/TablePro/Views/Connection/WelcomeWindowView.swift @@ -34,7 +34,7 @@ struct WelcomeWindowView: View { } .background(.background) .ignoresSafeArea() - .frame(minWidth: 650, minHeight: 400) + .frame(width: 700, height: 450) .onAppear { vm.setUp(openWindow: openWindow) focus = .search