diff --git a/containments/desktop/package/contents/ui/FolderItemDelegate.qml b/containments/desktop/package/contents/ui/FolderItemDelegate.qml --- a/containments/desktop/package/contents/ui/FolderItemDelegate.qml +++ b/containments/desktop/package/contents/ui/FolderItemDelegate.qml @@ -302,6 +302,28 @@ source: model.decoration overlays: model.overlays } + + Rectangle { + readonly property bool softwareRendering: GraphicsInfo.api === GraphicsInfo.Software + id: textBackground + visible: softwareRendering + + + anchors { + left: label.left + leftMargin: -units.smallSpacing + top: label.top + topMargin: -units.smallSpacing + right: label.right + rightMargin: -units.smallSpacing + bottom: label.bottom + bottomMargin: -units.smallSpacing + } + + color: (root.isContainment && main.GridView.view.isRootView) ? PlasmaCore.ColorScope.backgroundColor : "transparent" + radius: units.smallSpacing + opacity: 0.4 + } PlasmaComponents.Label { id: label