diff options
Diffstat (limited to 'src/controls/Styles/Desktop/TextFieldStyle.qml')
-rw-r--r-- | src/controls/Styles/Desktop/TextFieldStyle.qml | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/controls/Styles/Desktop/TextFieldStyle.qml b/src/controls/Styles/Desktop/TextFieldStyle.qml index c7e85ff4..585df03d 100644 --- a/src/controls/Styles/Desktop/TextFieldStyle.qml +++ b/src/controls/Styles/Desktop/TextFieldStyle.qml @@ -54,17 +54,10 @@ Style { hover: hovered hints: control.styleHints - SystemPalette { - id: syspal - colorGroup: control.enabled ? - SystemPalette.Active : - SystemPalette.Disabled - } - - property color textColor: syspal.text + property color textColor: SystemPaletteSingleton.text(control.enabled) property color placeholderTextColor: "darkGray" - property color selectionColor: syspal.highlight - property color selectedTextColor: syspal.highlightedText + property color selectionColor: SystemPaletteSingleton.highlight(control.enabled) + property color selectedTextColor: SystemPaletteSingleton.highlightedText(control.enabled) property bool rounded: !!hints["rounded"] |