[vlc-commits] qml: change artwork info tooltip colors
Fatih Uzunoglu
git at videolan.org
Mon Nov 16 10:04:23 CET 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Aug 21 19:30:19 2020 +0300| [e07d8863fdf9448da381860d51936eae37bf91fc] | committer: Pierre Lamot
qml: change artwork info tooltip colors
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e07d8863fdf9448da381860d51936eae37bf91fc
---
modules/gui/qt/player/qml/ControlButtons.qml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt/player/qml/ControlButtons.qml b/modules/gui/qt/player/qml/ControlButtons.qml
index 02196ff165..f6df20918b 100644
--- a/modules/gui/qt/player/qml/ControlButtons.qml
+++ b/modules/gui/qt/player/qml/ControlButtons.qml
@@ -848,7 +848,15 @@ Item{
leftPadding: VLCStyle.margin_xsmall
ToolTip {
- text: i18n.qtr("%1\n%2").arg(titleLabel.text).arg(artistLabel.text)
+ contentItem: Text {
+ text: i18n.qtr("%1\n%2").arg(titleLabel.text).arg(artistLabel.text)
+ color: VLCStyle.colors.tooltipTextColor
+ }
+
+ background: Rectangle {
+ color: VLCStyle.colors.tooltipColor
+ }
+
visible: artworkInfoItem.isClipped && (artworkInfoMouseArea.containsMouse || artworkInfoItem.active)
delay: 500
}
More information about the vlc-commits
mailing list