summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Desktop/TextAreaStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Desktop/TextAreaStyle.qml')
-rw-r--r--src/controls/Styles/Desktop/TextAreaStyle.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/controls/Styles/Desktop/TextAreaStyle.qml b/src/controls/Styles/Desktop/TextAreaStyle.qml
index 46750c1a..9a177303 100644
--- a/src/controls/Styles/Desktop/TextAreaStyle.qml
+++ b/src/controls/Styles/Desktop/TextAreaStyle.qml
@@ -43,10 +43,10 @@ import QtQuick.Controls.Private 1.0
ScrollViewStyle {
property font font: __styleitem.font
- property color textColor: __syspal.text
- property color selectionColor: __syspal.highlight
- property color selectedTextColor: __syspal.highlightedText
- property color backgroundColor: control.backgroundVisible ? __syspal.base : "transparent"
+ property color textColor: SystemPaletteSingleton.text(control.enabled)
+ property color selectionColor: SystemPaletteSingleton.highlight(control.enabled)
+ property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled)
+ property color backgroundColor: control.backgroundVisible ? SystemPaletteSingleton.base(control.enabled) : "transparent"
property StyleItem __styleitem: StyleItem{
elementType: "edit"