FrameSvgItem background for widgetexplorer window

wilder-5.14
Sebastian Kügler 13 years ago
parent cd7b816a5a
commit 20befa4b5f
  1. 10
      qmlpackages/desktop/contents/explorer/WidgetExplorer.qml

@ -30,6 +30,14 @@ Item {
//this is used to perfectly align the filter field and delegates //this is used to perfectly align the filter field and delegates
property int cellWidth: theme.defaultFont.pixelSize * 20 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 + ( property int minimumWidth: cellWidth + (
widgetExplorer.orientation == Qt.Horizontal widgetExplorer.orientation == Qt.Horizontal
? 0 ? 0
@ -51,7 +59,7 @@ Item {
model: widgetExplorer.filterModel model: widgetExplorer.filterModel
delegate: PlasmaComponents.MenuItem { delegate: PlasmaComponents.MenuItem {
text: display text: display
separator: model["separator"] separator: model["separator"] != undefined ? model["separator"] : false
onClicked: { onClicked: {
list.contentX = 0 list.contentX = 0
list.contentY = 0 list.contentY = 0

Loading…
Cancel
Save