diff --git a/applets/trash/package/contents/ui/main.qml b/applets/trash/package/contents/ui/main.qml --- a/applets/trash/package/contents/ui/main.qml +++ b/applets/trash/package/contents/ui/main.qml @@ -134,12 +134,12 @@ visible: !constrained - horizontalOffset: units.devicePixelRatio * 2 - verticalOffset: horizontalOffset + horizontalOffset: 1 + verticalOffset: 1 - radius: 9.0 - samples: 18 - spread: 0.15 + radius: 4 + samples: 9 + spread: 0.35 color: "black" @@ -152,6 +152,7 @@ horizontalCenter: parent.horizontalCenter bottom: parent.bottom } + width: Math.round(text.implicitWidth + units.smallSpacing) // make sure label is not blurry text: (dirModel.count === 0) ? i18n("Trash\nEmpty") : i18np("Trash\nOne item", "Trash\n %1 items", dirModel.count) color: "white" horizontalAlignment: Text.AlignHCenter