summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/MapWidget.qml
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-15 00:55:29 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commite9d4bdcf4e42843041074f0938f4281e49e80472 (patch)
treefa44f8580d9e05d38f9a8072fa8323e16f59563e /mobile-widgets/qml/MapWidget.qml
parentb083795233db702e7cb45b2fe5d6673e7c56e604 (diff)
downloadsubsurface-e9d4bdcf4e42843041074f0938f4281e49e80472.tar.gz
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 <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r--mobile-widgets/qml/MapWidget.qml7
1 files changed, 1 insertions, 6 deletions
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"