summaryrefslogtreecommitdiffstats
path: root/framework/qml/TextEditor.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/TextEditor.qml
parentd51f4c7fc7ee164730f9eebd1ca3db7b1a7c7054 (diff)
downloadkube-2cff237d2e4925ac653109583987d790f4cffd65.tar.gz
kube-2cff237d2e4925ac653109583987d790f4cffd65.zip
Show an IBeamCursor while hovering over a textfield.
Diffstat (limited to 'framework/qml/TextEditor.qml')
-rw-r--r--framework/qml/TextEditor.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/qml/TextEditor.qml b/framework/qml/TextEditor.qml
index 784cdecd..b6e62ef6 100644
--- a/framework/qml/TextEditor.qml
+++ b/framework/qml/TextEditor.qml
@@ -59,7 +59,6 @@ FocusScope {
59 cursorPosition: edit.cursorPosition 59 cursorPosition: edit.cursorPosition
60 } 60 }
61 61
62
63 Rectangle { 62 Rectangle {
64 anchors.fill: parent 63 anchors.fill: parent
65 border.width: 1 64 border.width: 1
@@ -109,6 +108,11 @@ FocusScope {
109 font.family: Kube.Font.fontFamily 108 font.family: Kube.Font.fontFamily
110 selectionColor: Kube.Colors.highlightColor 109 selectionColor: Kube.Colors.highlightColor
111 padding: Kube.Units.smallSpacing 110 padding: Kube.Units.smallSpacing
111 MouseArea {
112 anchors.fill: parent
113 acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
114 cursorShape: Qt.IBeamCursor
115 }
112 } 116 }
113 } 117 }
114 } 118 }