From 034822fcc69fa339f95e01e316ec3a3ec4b554eb Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 15 Jan 2024 02:28:09 +0800 Subject: [PATCH] Fix grid layout for sync status of file provider Signed-off-by: Claudio Cambra --- src/gui/macOS/ui/FileProviderSyncStatus.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/macOS/ui/FileProviderSyncStatus.qml b/src/gui/macOS/ui/FileProviderSyncStatus.qml index 9a16358eb2..82d5ecf0c8 100644 --- a/src/gui/macOS/ui/FileProviderSyncStatus.qml +++ b/src/gui/macOS/ui/FileProviderSyncStatus.qml @@ -27,6 +27,8 @@ GridLayout { required property var syncStatus + rows: syncStatus.syncing ? 2 : 1 + EnforcedPlainTextLabel { Layout.row: 0 Layout.column: 1 @@ -41,7 +43,7 @@ GridLayout { property int size: Style.trayListItemIconSize * 0.6 Layout.row: 0 - Layout.rowSpan: 2 + Layout.rowSpan: root.syncStatus.syncing ? 2 : 1 Layout.column: 0 Layout.preferredWidth: size Layout.preferredHeight: size