mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
b083795233
commit
e9d4bdcf4e
1 changed files with 1 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue