summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2014-09-26 15:13:27 +0200
committerCaroline Chao <caroline.chao@digia.com>2014-09-26 15:31:56 +0200
commit8e47a334cc62119470d991dba69f6ff65cd08c69 (patch)
treed76024bf3209a64b6fb656e74f631a12cb6272fd
parent09f359db64f006cfe35b93b6fa7d47ada4631ff9 (diff)
Use TextEdit instead of TextArea
Workaround to fix a crash on iOS with unreleased 5.4 beta. Change-Id: I9c97ecc8ac99dffbd0dfbbc01224014093b15cac Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-rw-r--r--qml/components/Feedback.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/qml/components/Feedback.qml b/qml/components/Feedback.qml
index 4317d9f..62a9d24 100644
--- a/qml/components/Feedback.qml
+++ b/qml/components/Feedback.qml
@@ -121,13 +121,13 @@ Item {
Rectangle {
height: window.height / 3
width: parent.width
- TextArea {
+ TextEdit {
id: feedbackEdit
anchors.fill: parent
textMargin: Theme.margins.ten
wrapMode: TextEdit.Wrap
onFocusChanged: if (focus && text === Theme.text.writeYourCommentHere) text = ""
- textColor: text === Theme.text.writeYourCommentHere ? Theme.colors.gray : Theme.colors.black
+ color: text === Theme.text.writeYourCommentHere ? Theme.colors.gray : Theme.colors.black
font.pointSize: Theme.fonts.seven_pt
Component.onCompleted: text = Theme.text.writeYourCommentHere
}