aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-08-26 17:30:27 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-08-27 11:56:07 +0000
commitb588ad9e45477a23d1ebd024a4b0a0ae49b7c7d5 (patch)
tree298f5306b06601a934c9384a4d628d7a6823f4d6
parent6d2f05a8e283bdc46afac0f3d062bf248559c2b9 (diff)
texteditor/touch: highlight the floating editor button
A style-independent way to get light foreground color. Change-Id: Idf43020d0724af993723143d74a2b1f8ab467c1e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml
index 4dc06b28..a7f176a9 100644
--- a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml
+++ b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml
@@ -238,8 +238,7 @@ ApplicationWindow {
anchors.right: parent.right
anchors.margins: 12
visible: textArea.readOnly
-
- Material.foreground: "white"
+ highlighted: true
onClicked: {
textArea.readOnly = false