summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-09 16:32:53 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-09 16:32:53 +0200
commit31f1c8741b63b65e8ee5c70d52bfde543c22f086 (patch)
tree6a183101f81b2aeae407fbd27dffc244886767f5
parentda651b9202e37d74da7dcbf10f067c9a23c0531d (diff)
downloadkube-31f1c8741b63b65e8ee5c70d52bfde543c22f086.tar.gz
kube-31f1c8741b63b65e8ee5c70d52bfde543c22f086.zip
Tooltip for the automplete delegate as well
-rw-r--r--framework/qml/AutocompleteLineEdit.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/framework/qml/AutocompleteLineEdit.qml b/framework/qml/AutocompleteLineEdit.qml
index e5368fe9..d6a32fbc 100644
--- a/framework/qml/AutocompleteLineEdit.qml
+++ b/framework/qml/AutocompleteLineEdit.qml
@@ -136,6 +136,11 @@ Kube.TextField {
136 contentItem: Item { 136 contentItem: Item {
137 width: parent.width - padding * 2 137 width: parent.width - padding * 2
138 height: parent.height - padding * 2 138 height: parent.height - padding * 2
139 MouseArea {
140 id: mouseArea
141 anchors.fill: parent
142 hoverEnabled: true
143 }
139 Kube.Label{ 144 Kube.Label{
140 anchors { 145 anchors {
141 verticalCenter: parent.verticalCenter 146 verticalCenter: parent.verticalCenter
@@ -145,6 +150,8 @@ Kube.TextField {
145 text: model.text 150 text: model.text
146 color: listDelegate.textColor 151 color: listDelegate.textColor
147 elide: Text.ElideRight 152 elide: Text.ElideRight
153 ToolTip.visible: mouseArea.containsMouse
154 ToolTip.text: text
148 } 155 }
149 } 156 }
150 } 157 }