summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-07-23 14:09:50 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-07-23 14:10:40 (GMT)
commit0079084a100fd1f3892b7d4ccbc39be886390d3a (patch)
tree511a5e4c8d9a47221b293ea52e0d8f670428f3f7
parent999a0ad04fa9575cd4e89f1dcaa1b61efb216bc3 (diff)
Improve dialog height. Always show bookmark toggle icon.
-rw-r--r--src/apps/marble-maps/PlacemarkDialog.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apps/marble-maps/PlacemarkDialog.qml b/src/apps/marble-maps/PlacemarkDialog.qml
index 8f17cc4..904484b 100644
--- a/src/apps/marble-maps/PlacemarkDialog.qml
+++ b/src/apps/marble-maps/PlacemarkDialog.qml
@@ -76,6 +76,7 @@ Item {
IconText {
id: name
width: parent.width
+ visible: text.length > 0
text: placemark === null ? "" : placemark.name
maximumLineCount: 2
font.pointSize: 20
@@ -83,6 +84,7 @@ Item {
IconText {
width: parent.width
+ visible: text.length > 0
text: placemark === null ? "" : placemark.description
maximumLineCount: condensed ? 4 : undefined
}
@@ -139,7 +141,7 @@ Item {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.margins: Screen.pixelDensity * 2
- visible: root.height > 0 && !condensed
+ visible: root.height > 0
property bool bookmark: false