[vlc-devel] [PATCH 19/29] qml: set the backgroundColor of actions buttons in ListItem
Abel Tesfaye
abeltesfaye45 at gmail.com
Tue Aug 20 12:42:36 CEST 2019
From: Abel Tesfaye <Abeltesfaye45 at gmail.com>
---
modules/gui/qt/qml/utils/ListItem.qml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/qt/qml/utils/ListItem.qml b/modules/gui/qt/qml/utils/ListItem.qml
index 013c5e8cbb..d30ea1dad3 100644
--- a/modules/gui/qt/qml/utils/ListItem.qml
+++ b/modules/gui/qt/qml/utils/ListItem.qml
@@ -195,6 +195,9 @@ NavigableFocusScope {
color: contextButton.activeFocus ? VLCStyle.colors.accent : VLCStyle.colors.text
focus: actionButtons.length == toolButtons.focusIndex
visible: root.showContextButton
+ backgroundColor: hovered || activeFocus ? VLCStyle.colors.getBgColor(
+ root.isSelected, root.hovered,
+ root.activeFocus) : "transparent"
onClicked: root.contextMenuButtonClicked(this)
}
}
--
2.21.0
More information about the vlc-devel
mailing list