summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/TextFieldStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/TextFieldStyle.qml')
-rw-r--r--src/controls/Styles/Base/TextFieldStyle.qml11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/controls/Styles/Base/TextFieldStyle.qml b/src/controls/Styles/Base/TextFieldStyle.qml
index dc25033a..f33d4876 100644
--- a/src/controls/Styles/Base/TextFieldStyle.qml
+++ b/src/controls/Styles/Base/TextFieldStyle.qml
@@ -68,11 +68,6 @@ import QtQuick.Controls.Private 1.0
Style {
id: style
- /*! \internal */
- property var __syspal: SystemPalette {
- colorGroup: control.enabled ?
- SystemPalette.Active : SystemPalette.Disabled
- }
/*! The \l TextField attached to this style. */
readonly property TextField control: __control
@@ -83,13 +78,13 @@ Style {
property font font
/*! The text color. */
- property color textColor: __syspal.text
+ property color textColor: SystemPaletteSingleton.text(control.enabled)
/*! The text highlight color, used behind selections. */
- property color selectionColor: __syspal.highlight
+ property color selectionColor: SystemPaletteSingleton.highlight(control.enabled)
/*! The highlighted text color, used in selections. */
- property color selectedTextColor: __syspal.highlightedText
+ property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled)
/*!
\qmlproperty enumeration renderType