diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/AutocompleteLineEdit.qml | 7 |
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 | } |