mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03: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 != "") {
|
if (widgetExplorerStack.source != "") {
|
||||||
widgetExplorerStack.source = "";
|
widgetExplorerStack.source = "";
|
||||||
} else {
|
} 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
|
id: widgetExplorerStack
|
||||||
z: 99
|
z: 99
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
anchors.fill: parent
|
y: containment ? containment.availableScreenRect.y : 0
|
||||||
|
height: containment ? containment.availableScreenRect.height : parent.height
|
||||||
|
width: parent.width
|
||||||
|
|
||||||
onLoaded: {
|
onLoaded: {
|
||||||
if (widgetExplorerStack.item) {
|
if (widgetExplorerStack.item) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue