From e9d4bdcf4e42843041074f0938f4281e49e80472 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 15 Jul 2017 00:55:29 +0300 Subject: map: use Item instead of Rectangle in MapWidget.qml The root element is now an Item and also doesn't have explicit anchors and dimensions as these will be handled by the parent: - on desktop: a QQuickWidget - on mobile: any QML based QQuickItem Signed-off-by: Lubomir I. Ivanov --- mobile-widgets/qml/MapWidget.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'mobile-widgets') diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 6e3476ae1..f7b010c62 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -2,12 +2,7 @@ import QtQuick 2.0 import QtLocation 5.3 import QtPositioning 5.3 -Rectangle { - id: mapParent - anchors.fill: parent - width: 512 - height: width - +Item { Plugin { id: mapPlugin name: "esri" -- cgit v1.2.3-70-g09d2