Make sure storage headers do not collide with each other in macOS VFS settings

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-10-18 16:11:31 +08:00 committed by backportbot[bot]
parent 5b5608ebb8
commit 6fec4c2487

View 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
}
}
}