summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Mardegan <alberto.mardegan@canonical.com>2012-05-08 10:40:56 -0700
committerJens Bache-Wiig <jens.bache-wiig@nokia.com>2012-05-09 10:10:51 +0200
commit7481718f7e5cc2cd047c589fdb27a08f9bfb99fb (patch)
treef2f56130aafb7f84ffe5fefa4b0fc9e053d0e260
parent88ed60c38aa2f36316b8d9b8db9659c003fe779e (diff)
downloadqtquickcontrols-7481718f7e5cc2cd047c589fdb27a08f9bfb99fb.tar.gz
Use caret cursor in SpinBox
Task-number: QTCOMPONENTS-1249 Change-Id: I9b033166dd491bfc6e97e2a1efabf885ba0000c1 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
-rw-r--r--components/custom/SpinBox.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/custom/SpinBox.qml b/components/custom/SpinBox.qml
index 7a6d0b98..ee8e92b8 100644
--- a/components/custom/SpinBox.qml
+++ b/components/custom/SpinBox.qml
@@ -1,4 +1,5 @@
import QtQuick 1.1
+import ".."
FocusScope {
id: spinbox
@@ -111,6 +112,10 @@ FocusScope {
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
}
+ CursorArea {
+ anchors.fill: parent
+ cursor: CursorArea.IBeamCursor
+ }
}
Loader {