diff --git a/src/gui/qml/FolderDelegate.qml b/src/gui/qml/FolderDelegate.qml index 0d03e7dea19..774f0678006 100644 --- a/src/gui/qml/FolderDelegate.qml +++ b/src/gui/qml/FolderDelegate.qml @@ -99,29 +99,24 @@ Pane { text: folderDelegate.displayName font.bold: true font.pointSize: 15 - elide: Text.ElideLeft - verticalAlignment: Text.AlignHCenter + elide: Text.ElideRight } } Label { - Layout.fillWidth: true text: folderDelegate.descriptionText elide: Text.ElideRight - verticalAlignment: Text.AlignHCenter } // we will either display quota or overallText Label { - Layout.fillWidth: true text: folderDelegate.quota elide: Text.ElideRight - verticalAlignment: Text.AlignHCenter visible: folderDelegate.quota && !folderDelegate.overallText } Item { // ensure the progress bar always consumes its space - Layout.fillWidth: true Layout.preferredHeight: 10 + Layout.fillWidth: true ProgressBar { anchors.fill: parent value: folderDelegate.progress @@ -130,13 +125,11 @@ Pane { } Label { - Layout.fillWidth: true text: folderDelegate.overallText - elide: Text.ElideLeft + elide: Text.ElideMiddle } Label { - Layout.fillWidth: true text: folderDelegate.itemText elide: Text.ElideMiddle // only display the item text if we don't have errors