From ca9c23bd2b884703e51e61d44095bf44c79b08b4 Mon Sep 17 00:00:00 2001 From: Marco Moschettini Date: Sun, 28 Jan 2024 19:56:59 +0100 Subject: [PATCH] feat: resize tray menu vertically --- CubbitDS3Sync/Views/Tray/Views/TrayMenuView.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CubbitDS3Sync/Views/Tray/Views/TrayMenuView.swift b/CubbitDS3Sync/Views/Tray/Views/TrayMenuView.swift index 85a38f1..aab16ef 100644 --- a/CubbitDS3Sync/Views/Tray/Views/TrayMenuView.swift +++ b/CubbitDS3Sync/Views/Tray/Views/TrayMenuView.swift @@ -62,6 +62,8 @@ struct TrayMenuView: View { Divider() + Spacer() + TrayMenuFooterView( status: appStatusManager.status.toString(), version: DefaultSettings.appVersion @@ -70,9 +72,11 @@ struct TrayMenuView: View { } .frame( minWidth: 280, - maxWidth: 280 + maxWidth: 280, + maxHeight: .infinity ) - .fixedSize(horizontal: true, vertical: true) + .fixedSize(horizontal: true, vertical: false) + } func canAddMoreDrives() -> Bool {