FrameSvgItem background for widgetexplorer window
This commit is contained in:
parent
c5bb3cecf5
commit
20aa17dfe7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user