Fix UnifiedSearch text field placeholder text color for light and dark theme.

Signed-off-by: alex-z <blackslayer4@gmail.com>
This commit is contained in:
alex-z 2023-06-05 18:14:20 +02:00 committed by Matthieu Gallien
parent 7507c36b0e
commit cc65f89d4c

View file

@ -27,6 +27,8 @@ TextField {
readonly property color textFieldIconsColor: palette.dark
readonly property color placeholderColor: palette.dark
readonly property int textFieldIconsOffset: Style.trayHorizontalMargin
readonly property double textFieldIconsScaleFactor: 0.6
@ -39,6 +41,7 @@ TextField {
rightPadding: trayWindowUnifiedSearchTextFieldClearTextButton.width + trayWindowUnifiedSearchTextFieldClearTextButton.anchors.rightMargin + textFieldHorizontalPaddingOffset
placeholderText: qsTr("Search files, messages, events …")
placeholderTextColor: placeholderColor
selectByMouse: true