From 20befa4b5ff5109c86bdcaf76f21ff527f4f2210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Tue, 30 Apr 2013 02:06:44 +0200 Subject: [PATCH] FrameSvgItem background for widgetexplorer window --- .../desktop/contents/explorer/WidgetExplorer.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/qmlpackages/desktop/contents/explorer/WidgetExplorer.qml b/qmlpackages/desktop/contents/explorer/WidgetExplorer.qml index 9bec40db1..9f273f22d 100644 --- a/qmlpackages/desktop/contents/explorer/WidgetExplorer.qml +++ b/qmlpackages/desktop/contents/explorer/WidgetExplorer.qml @@ -30,6 +30,14 @@ Item { //this is used to perfectly align the filter field and delegates property int cellWidth: theme.defaultFont.pixelSize * 20 + PlasmaCore.FrameSvgItem { + imagePath: "dialogs/background" + anchors.fill: parent + anchors.margins: margins + //color: "orange" + //opacity: 0.3 + } + property int minimumWidth: cellWidth + ( widgetExplorer.orientation == Qt.Horizontal ? 0 @@ -51,7 +59,7 @@ Item { model: widgetExplorer.filterModel delegate: PlasmaComponents.MenuItem { text: display - separator: model["separator"] + separator: model["separator"] != undefined ? model["separator"] : false onClicked: { list.contentX = 0 list.contentY = 0