[vlc-devel] [PATCH 09/18] qml: fix color handling in URL text box

Prince Gupta guptaprince8832 at gmail.com
Thu Apr 1 14:29:44 UTC 2021


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

diff --git a/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml b/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml
index a98852bcab..839801dc6e 100644
--- a/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml
+++ b/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml
@@ -52,7 +52,9 @@ Widgets.NavigableFocusScope {
                 height: VLCStyle.dp(32, VLCStyle.scale)
                 width: VLCStyle.colWidth(Math.max(VLCStyle.gridColumnsForWidth(root.width * .6), 2))
                 placeholderText: i18n.qtr("Paste or write the URL here")
-                color: VLCStyle.colors.text
+                palette.text: VLCStyle.colors.text
+                palette.highlight: VLCStyle.colors.bgHover
+                palette.highlightedText: VLCStyle.colors.bgHoverText
                 font.pixelSize: VLCStyle.fontSize_large
                 background: Rectangle {
                     color: VLCStyle.colors.bg
-- 
2.27.0



More information about the vlc-devel mailing list