aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/TextArea.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/TextArea.qml')
-rw-r--r--src/imports/controls/material/TextArea.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/imports/controls/material/TextArea.qml b/src/imports/controls/material/TextArea.qml
index b37e2311..3a95600e 100644
--- a/src/imports/controls/material/TextArea.qml
+++ b/src/imports/controls/material/TextArea.qml
@@ -35,8 +35,8 @@
****************************************************************************/
import QtQuick 2.6
-import QtQuick.Templates 2.0 as T
-import QtQuick.Controls.Material 2.0
+import QtQuick.Templates 2.1 as T
+import QtQuick.Controls.Material 2.1
T.TextArea {
id: control
@@ -51,6 +51,8 @@ T.TextArea {
topPadding: 8
bottomPadding: 16
+ hoverEnabled: Qt.styleHints.useHoverEffects
+
color: enabled ? Material.primaryTextColor : Material.hintTextColor
selectionColor: Material.accentColor
selectedTextColor: Material.primaryHighlightedTextColor