[vlc-commits] qml: highlight SortControl listitem during keyboard navigation
Fatih Uzunoglu
git at videolan.org
Mon Dec 7 10:08:41 UTC 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Dec 4 02:01:57 2020 +0300| [758cb5d02b85b48500680303efe2b2e919b7611b] | committer: Pierre Lamot
qml: highlight SortControl listitem during keyboard navigation
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=758cb5d02b85b48500680303efe2b2e919b7611b
---
modules/gui/qt/widgets/qml/SortControl.qml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/gui/qt/widgets/qml/SortControl.qml b/modules/gui/qt/widgets/qml/SortControl.qml
index a9b91810bb..c84cbf1bf4 100644
--- a/modules/gui/qt/widgets/qml/SortControl.qml
+++ b/modules/gui/qt/widgets/qml/SortControl.qml
@@ -129,6 +129,11 @@ Widgets.NavigableFocusScope {
ScrollIndicator.vertical: ScrollIndicator { }
+ highlight: Rectangle {
+ color: _colors.accent
+ opacity: 0.8
+ }
+
delegate: ItemDelegate {
id: itemDelegate
@@ -139,6 +144,7 @@ Widgets.NavigableFocusScope {
background: Item {}
contentItem: Item {
implicitHeight: itemRow.implicitHeight
+ width: itemDelegate.width
Rectangle {
anchors.fill: parent
More information about the vlc-commits
mailing list