From deaa2727db4f3decd136876eaa89776b284a1315 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 27 Mar 2026 13:52:24 +0200 Subject: [PATCH] Set a default size for all the detached windows --- ElementX/Sources/Application/Application.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ElementX/Sources/Application/Application.swift b/ElementX/Sources/Application/Application.swift index 43e92db9a..728713ff0 100644 --- a/ElementX/Sources/Application/Application.swift +++ b/ElementX/Sources/Application/Application.swift @@ -73,6 +73,8 @@ struct Application: App { .environment(\.openURL, openURLAction(appCoordinator: appCoordinator, windowType: type)) } } + .defaultSize(width: 400, height: 800) + .windowResizability(.contentSize) } private func openURLAction(appCoordinator: AppCoordinatorProtocol, windowType: WindowManagerWindowType?) -> OpenURLAction {