Kaynağa Gözat

Merge pull request #5785 from nextcloud/backport/5764/stable-3.9

[stable-3.9] Fix UnifiedSearch text field placeholder text color for light and dark theme
Matthieu Gallien 2 yıl önce
ebeveyn
işleme
112b809334
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      src/gui/tray/UnifiedSearchInputContainer.qml

+ 3 - 0
src/gui/tray/UnifiedSearchInputContainer.qml

@@ -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