summaryrefslogtreecommitdiffstats
path: root/framework/qml/TextField.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsystems.com>2017-10-23 15:01:23 +0200
committerChristian Mollekopf <mollekopf@kolabsystems.com>2017-10-23 15:01:23 +0200
commit2cff237d2e4925ac653109583987d790f4cffd65 (patch)
treead66d03bd41c4647fa23a5d8c4917e02ec01026b /framework/qml/TextField.qml
parentd51f4c7fc7ee164730f9eebd1ca3db7b1a7c7054 (diff)
downloadkube-2cff237d2e4925ac653109583987d790f4cffd65.tar.gz
kube-2cff237d2e4925ac653109583987d790f4cffd65.zip
Show an IBeamCursor while hovering over a textfield.
Diffstat (limited to 'framework/qml/TextField.qml')
-rw-r--r--framework/qml/TextField.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/qml/TextField.qml b/framework/qml/TextField.qml
index feb34a33..effdc43b 100644
--- a/framework/qml/TextField.qml
+++ b/framework/qml/TextField.qml
@@ -48,6 +48,11 @@ T.TextField {
48 text: root.placeholderText 48 text: root.placeholderText
49 color: Kube.Colors.disabledTextColor 49 color: Kube.Colors.disabledTextColor
50 elide: Text.ElideRight 50 elide: Text.ElideRight
51 MouseArea {
52 anchors.fill: parent
53 acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
54 cursorShape: Qt.IBeamCursor
55 }
51 } 56 }
52 57
53 background: Rectangle { 58 background: Rectangle {