[vlc-commits] qml: adjust playlist delegate stacking
Fatih Uzunoglu
git at videolan.org
Tue Aug 18 17:14:57 CEST 2020
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Sun Jul 12 21:19:51 2020 +0300| [a62feff36ad27dd071ebe896cdd6e300ed9dab4b] | committer: Pierre Lamot
qml: adjust playlist delegate stacking
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a62feff36ad27dd071ebe896cdd6e300ed9dab4b
---
modules/gui/qt/playlist/qml/PlaylistListView.qml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index 56190330c2..2ba99db651 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -350,6 +350,7 @@ Widgets.NavigableFocusScope {
active: (index === 0) // load only for the first element to prevent overlapping
width: parent.width
height: 1
+ z: 0
sourceComponent: Rectangle {
color: _colors.playlistSeparator
opacity: _colors.isThemeDark ? 0.05 : 1.0
@@ -365,7 +366,7 @@ Widgets.NavigableFocusScope {
id: plitem
plmodel: root.plmodel
width: root.width
-
+ z: 1
leftPadding: root.leftPadding + VLCStyle.margin_normal
rightPadding: root.rightPadding + view.scrollBarWidth
@@ -437,6 +438,7 @@ Widgets.NavigableFocusScope {
Rectangle {
width: parent.width
height: 1
+ z: 0
color: _colors.playlistSeparator
opacity: _colors.isThemeDark ? 0.05 : 1.0
}
More information about the vlc-commits
mailing list