Commit e4014bd0 authored by Marco Martin's avatar Marco Martin
Browse files

fix widget explorer

parent 96f4e7be
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment