[vlc-commits] qml: fix colors in SearchBox

Prince Gupta git at videolan.org
Tue Apr 6 13:12:12 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Mar 19 17:39:16 2021 +0530| [65b7e2098f79fd317139ecbdc618b67710729e61] | committer: Pierre Lamot

qml: fix colors in SearchBox

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65b7e2098f79fd317139ecbdc618b67710729e61
---

 modules/gui/qt/widgets/qml/SearchBox.qml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/widgets/qml/SearchBox.qml b/modules/gui/qt/widgets/qml/SearchBox.qml
index 11a321218d..9c66c68ab0 100644
--- a/modules/gui/qt/widgets/qml/SearchBox.qml
+++ b/modules/gui/qt/widgets/qml/SearchBox.qml
@@ -125,7 +125,9 @@ Widgets.NavigableFocusScope {
 
                 font.pixelSize: VLCStyle.fontSize_normal
 
-                color: VLCStyle.colors.buttonText
+                palette.text: VLCStyle.colors.buttonText
+                palette.highlight: VLCStyle.colors.bgHover
+                palette.highlightedText: VLCStyle.colors.bgHoverText
 
                 selectByMouse: true
 



More information about the vlc-commits mailing list