vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Fri Dec 11 20:01:14 2020 +0530| [6f492c7b80756610ddd162e0a1a54146c2b4942a] | committer: Pierre Lamot
qml: add shadows in Music Expand delegates's cover Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f492c7b80756610ddd162e0a1a54146c2b4942a --- .../qml/MusicAlbumsGridExpandDelegate.qml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml b/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml index 729753eb2f..57fa2a4627 100644 --- a/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml +++ b/modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml @@ -76,14 +76,24 @@ Widgets.NavigableFocusScope { spacing: VLCStyle.margin_normal /* A bigger cover for the album */ - Widgets.RoundImage { - id: expand_cover_id - asynchronous: true + Item { height: VLCStyle.expandCover_music_height width: VLCStyle.expandCover_music_width - radius: VLCStyle.expandCover_music_radius - source: model.cover || VLCStyle.noArtAlbum - sourceSize: Qt.size(width, height) + + Widgets.RoundImage { + id: expand_cover_id + asynchronous: true + height: VLCStyle.expandCover_music_height + width: VLCStyle.expandCover_music_width + radius: VLCStyle.expandCover_music_radius + source: model.cover || VLCStyle.noArtAlbum + sourceSize: Qt.size(width, height) + } + + Widgets.ListCoverShadow { + source: expand_cover_id + anchors.fill: parent + } } Widgets.NavigableRow { _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits