diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-20 19:25:59 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 7dfb168f7fd2b9d32c4296e2aab15ef87a79f31a (patch) | |
tree | fb96ece80d7d3e5407a6f2e119afa5bff13cf81d /mobile-widgets/qml/MapWidget.qml | |
parent | de73cf1c90e2459f5c8b7f4196282887fe0ff623 (diff) | |
download | subsurface-7dfb168f7fd2b9d32c4296e2aab15ef87a79f31a.tar.gz |
mapwidgetcontextmenu: position the contextMenu on the map
The anchor of the menu itself will be positioned near the edge of the
map widget, while the menu contents will have negative coordinates.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/MapWidget.qml')
-rw-r--r-- | mobile-widgets/qml/MapWidget.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/MapWidget.qml b/mobile-widgets/qml/MapWidget.qml index 5310bb4d6..684d76a03 100644 --- a/mobile-widgets/qml/MapWidget.qml +++ b/mobile-widgets/qml/MapWidget.qml @@ -140,5 +140,6 @@ Item { MapWidgetContextMenu { id: contextMenu + y: 10; x: map.width - y } } |