mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fix widget explorer
This commit is contained in:
parent
96f4e7be53
commit
e4014bd0ba
1 changed files with 4 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ Rectangle {
|
|||
if (widgetExplorerStack.source != "") {
|
||||
widgetExplorerStack.source = "";
|
||||
} else {
|
||||
widgetExplorerStack.setSource(Qt.resolvedUrl("../explorer/WidgetExplorer.qml"), {"containment": containment, "containmentInterface": root.containment})
|
||||
widgetExplorerStack.setSource(desktop.fileFromPackage("explorer", "WidgetExplorer.qml"), {"containment": containment, "containmentInterface": root.containment})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -51,7 +51,9 @@ Rectangle {
|
|||
id: widgetExplorerStack
|
||||
z: 99
|
||||
asynchronous: true
|
||||
anchors.fill: parent
|
||||
y: containment ? containment.availableScreenRect.y : 0
|
||||
height: containment ? containment.availableScreenRect.height : parent.height
|
||||
width: parent.width
|
||||
|
||||
onLoaded: {
|
||||
if (widgetExplorerStack.item) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue