summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjiban Bairagya <sanjiban22393@gmail.com>2016-09-27 05:20:41 (GMT)
committerSanjiban Bairagya <sanjiban22393@gmail.com>2016-09-27 05:20:41 (GMT)
commitcc8406238d29477478c0ade0672123d510bc5050 (patch)
treebd54ad241eabec7c7c3faf20cf7d67cdbca3b441
parent4e862bbfc4bbe432ecc981e5a5008ad59a7adb27 (diff)
Remove overlap between route-editor button and bookmark button
-rw-r--r--src/apps/marble-maps/PlacemarkDialog.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/marble-maps/PlacemarkDialog.qml b/src/apps/marble-maps/PlacemarkDialog.qml
index e7f75b4..f8e7e33 100644
--- a/src/apps/marble-maps/PlacemarkDialog.qml
+++ b/src/apps/marble-maps/PlacemarkDialog.qml
@@ -23,7 +23,8 @@ Item {
property string actionIconSource: routeEditor.currentProfileIcon
property alias map: bookmarks.map
- height: placemark === null ? 0 : Screen.pixelDensity * 6 + infoLayout.height
+ height: placemark === null ? 0 : Screen.pixelDensity * 6 +
+ (infoLayout.height > bookmarkButton.height ? infoLayout.height : bookmarkButton.height)
function addToRoute() {
ensureRouteHasDeparture()