vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Thu Dec 10 17:03:26 2020 +0530| [c9c1ebd1a1bc03bd4eb13f1591ee7f6ce80ac98a] | committer: Pierre Lamot
qml: use VLCColors.bgHover for selected GridItems Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9c1ebd1a1bc03bd4eb13f1591ee7f6ce80ac98a --- modules/gui/qt/widgets/qml/GridItem.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/gui/qt/widgets/qml/GridItem.qml b/modules/gui/qt/widgets/qml/GridItem.qml index fbfe833688..c8ca04b31e 100644 --- a/modules/gui/qt/widgets/qml/GridItem.qml +++ b/modules/gui/qt/widgets/qml/GridItem.qml @@ -253,7 +253,7 @@ FocusScope { y: - root.selectedBorderWidth width: root.width + ( root.selectedBorderWidth * 2 ) height: root.height + ( root.selectedBorderWidth * 2 ) - color: VLCStyle.colors.bgAlt + color: VLCStyle.colors.bgHover visible: root.selected || root._highlighted } @@ -346,6 +346,7 @@ FocusScope { width: pictureWidth horizontalAlignment: root.textHorizontalAlignment topPadding: root.titleMargin + color: selectionRect.visible ? VLCStyle.colors.bgHoverText : VLCStyle.colors.text } } @@ -355,6 +356,9 @@ FocusScope { visible: text !== "" text: root.subtitle width: pictureWidth + color: selectionRect.visible + ? VLCStyle.colors.setColorAlpha(VLCStyle.colors.bgHoverText, .6) + : VLCStyle.colors.menuCaption } } } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits