Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/FolderItemDelegate.qml
Context not available. | |||||
302 | source: model.decoration | 302 | source: model.decoration | ||
---|---|---|---|---|---|
303 | overlays: model.overlays | 303 | overlays: model.overlays | ||
304 | } | 304 | } | ||
305 | | ||||
306 | Rectangle { | ||||
307 | readonly property bool softwareRendering: GraphicsInfo.api === GraphicsInfo.Software | ||||
308 | id: textBackground | ||||
309 | visible: softwareRendering | ||||
310 | | ||||
311 | | ||||
312 | anchors { | ||||
313 | left: label.left | ||||
314 | leftMargin: -units.smallSpacing | ||||
315 | top: label.top | ||||
316 | topMargin: -units.smallSpacing | ||||
317 | right: label.right | ||||
318 | rightMargin: -units.smallSpacing | ||||
319 | bottom: label.bottom | ||||
320 | bottomMargin: -units.smallSpacing | ||||
321 | } | ||||
322 | | ||||
323 | color: (root.isContainment && main.GridView.view.isRootView) ? PlasmaCore.ColorScope.backgroundColor : "transparent" | ||||
324 | radius: units.smallSpacing | ||||
325 | opacity: 0.4 | ||||
326 | } | ||||
305 | 327 | | |||
306 | PlasmaComponents.Label { | 328 | PlasmaComponents.Label { | ||
307 | id: label | 329 | id: label | ||
Context not available. |