From 6fec4c24871a26c5c11198ee5d160b7ae6c25f5f Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 18 Oct 2024 16:11:31 +0800 Subject: [PATCH] Make sure storage headers do not collide with each other in macOS VFS settings Signed-off-by: Claudio Cambra --- src/gui/macOS/ui/FileProviderStorageInfo.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/macOS/ui/FileProviderStorageInfo.qml b/src/gui/macOS/ui/FileProviderStorageInfo.qml index 2830309b3..3ef4d9274 100644 --- a/src/gui/macOS/ui/FileProviderStorageInfo.qml +++ b/src/gui/macOS/ui/FileProviderStorageInfo.qml @@ -37,7 +37,6 @@ GridLayout { Layout.row: 0 Layout.column: 0 Layout.alignment: Layout.AlignLeft | Layout.AlignVCenter - Layout.fillWidth: true text: qsTr("Local storage use") font.bold: true } @@ -46,7 +45,9 @@ GridLayout { Layout.row: 0 Layout.column: 1 Layout.alignment: Layout.AlignRight | Layout.AlignVCenter + Layout.fillWidth: true text: qsTr("%1 GB of %2 GB remote files synced").arg(root.localUsedStorage.toFixed(2)).arg(root.remoteUsedStorage.toFixed(2)); + elide: Text.ElideRight color: Style.ncSecondaryTextColor horizontalAlignment: Text.AlignRight } @@ -65,4 +66,4 @@ GridLayout { Layout.fillWidth: true value: root.localUsedStorage / root.remoteUsedStorage } -} \ No newline at end of file +}