Skip to content

Commit

Permalink
Merge pull request #7360 from nextcloud/bugfix/mac-vfs-storage-use-elide
Browse files Browse the repository at this point in the history
Make sure storage headers do not collide with each other in macOS VFS settings
  • Loading branch information
claucambra authored Oct 18, 2024
2 parents 09e10b9 + 88dd0e1 commit e60bbf9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/macOS/ui/FileProviderStorageInfo.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand All @@ -65,4 +66,4 @@ GridLayout {
Layout.fillWidth: true
value: root.localUsedStorage / root.remoteUsedStorage
}
}
}

0 comments on commit e60bbf9

Please sign in to comment.