aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicknativestyle/controls/DefaultTextArea.qml
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2021-05-27 09:04:16 +0200
committerAndy Shaw <andy.shaw@qt.io>2021-06-17 08:03:41 +0200
commita7f627b08d4c3e0dc963018c67c5f8aff3f77b4a (patch)
tree32b7f125afab3248a99f46bf7e6dfb5b31414fe6 /src/quicknativestyle/controls/DefaultTextArea.qml
parent0e81c6d985a950f5be001acd445a77ec3432bf90 (diff)
Use the added placeHolderText color available in Palette
This allows it to pick up the Palette's placeHolderText color by default while still using the property if it is overridden with that. Pick-to: 6.2 Task-number: QTBUG-93746 Change-Id: Ie6af95d6c60fa80f2789c2acd5964b5a347194ce Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicknativestyle/controls/DefaultTextArea.qml')
-rw-r--r--src/quicknativestyle/controls/DefaultTextArea.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicknativestyle/controls/DefaultTextArea.qml b/src/quicknativestyle/controls/DefaultTextArea.qml
index 5a72b91a..c634da7e 100644
--- a/src/quicknativestyle/controls/DefaultTextArea.qml
+++ b/src/quicknativestyle/controls/DefaultTextArea.qml
@@ -58,7 +58,7 @@ T.TextArea {
color: control.palette.text
selectionColor: control.palette.highlight
selectedTextColor: control.palette.highlightedText
- placeholderTextColor: Color.transparent(control.color, 0.5)
+ placeholderTextColor: control.palette.placeholderText
verticalAlignment: TextInput.AlignTop
PlaceholderText {