]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Make sure storage headers do not collide with each other in macOS VFS settings
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Fri, 18 Oct 2024 08:11:31 +0000 (16:11 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Fri, 18 Oct 2024 08:17:27 +0000 (16:17 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/macOS/ui/FileProviderStorageInfo.qml

index 2830309b309824ccebce923baa0327c03967358c..3ef4d9274d3c40ea3e32783c55aa854978a83b28 100644 (file)
@@ -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
+}