diff --git a/example/bridge-example/package/appletitem.qml b/example/bridge-example/package/appletitem.qml index 4f12ca364..d6532852e 100644 --- a/example/bridge-example/package/appletitem.qml +++ b/example/bridge-example/package/appletitem.qml @@ -38,7 +38,6 @@ AppletItem { height: 480 popupX: DockPanelPositioner.x popupY: DockPanelPositioner.y - DockPanelPositioner.bounding: Qt.rect(popupX, popupY, width, height) Control { anchors.fill: parent @@ -100,6 +99,8 @@ AppletItem { TapHandler { acceptedButtons: Qt.LeftButton onTapped: { + let rect = Qt.rect(launcherDebuggerPanel.popupX, launcherDebuggerPanel.popupY, launcherDebuggerPanel.width, launcherDebuggerPanel.height) + launcherDebuggerPanel.DockPanelPositioner.bounding = rect launcherDebuggerPanel.open() } }