[vlc-commits] qml: fix color handling in URL text box
Prince Gupta
git at videolan.org
Tue Apr 6 13:12:03 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Mar 1 21:57:32 2021 +0530| [c3101d8cb3910e023383e570832e2b0ef71330ab] | committer: Pierre Lamot
qml: fix color handling in URL text box
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3101d8cb3910e023383e570832e2b0ef71330ab
---
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
More information about the vlc-commits
mailing list