-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.0
The selection color in TextField and SpinBox is set to different values, leading to inconsistencies of the design.
see source files controls/material/TextField.qml
...
T.TextField { id: control
...
color: enabled ? Material.foreground : Material.hintTextColor
selectionColor: Material.accentColor
selectedTextColor: Material.primaryHighlightedTextColor
placeholderTextColor: Material.hintTextColor
verticalAlignment: TextInput.AlignVCenter
...
and controls/material/SpinBox.qml
...
contentItem: TextInput {
...
color: enabled ? control.Material.foreground : control.Material.hintTextColor
selectionColor: control.Material.textSelectionColor
selectedTextColor: control.Material.foreground
horizontalAlignment: Qt.AlignHCenter
...