[vlc-commits] qml: reposition MusicAlbumsGridExpandDelegate parent views

Prince Gupta git at videolan.org
Mon Jan 4 13:37:39 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Dec 11 19:40:36 2020 +0530| [19782b4e8abd767678afd4a1a8d48825ade39ea5] | committer: Pierre Lamot

qml: reposition MusicAlbumsGridExpandDelegate parent views

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19782b4e8abd767678afd4a1a8d48825ade39ea5
---

 modules/gui/qt/medialibrary/qml/MusicAlbums.qml | 2 ++
 modules/gui/qt/medialibrary/qml/MusicArtist.qml | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/modules/gui/qt/medialibrary/qml/MusicAlbums.qml b/modules/gui/qt/medialibrary/qml/MusicAlbums.qml
index b98e851583..07f6d71277 100644
--- a/modules/gui/qt/medialibrary/qml/MusicAlbums.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicAlbums.qml
@@ -168,6 +168,8 @@ Widgets.NavigableFocusScope {
             expandDelegate: MusicAlbumsGridExpandDelegate {
                 id: expandDelegateId
 
+                x: 0
+                width: gridView_id.width
                 onRetract: gridView_id.retract()
                 navigationParent: root
                 navigationCancel:  function() {  gridView_id.retract() }
diff --git a/modules/gui/qt/medialibrary/qml/MusicArtist.qml b/modules/gui/qt/medialibrary/qml/MusicArtist.qml
index 8419ef379e..4cb8d5cd13 100644
--- a/modules/gui/qt/medialibrary/qml/MusicArtist.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicArtist.qml
@@ -304,6 +304,8 @@ Widgets.NavigableFocusScope {
             expandDelegate: MusicAlbumsGridExpandDelegate {
                 id: expandDelegateId
 
+                x: 0
+                width: gridView_id.width
                 onRetract: gridView_id.retract()
                 navigationParent: root
                 navigationCancel:  function() {  gridView_id.retract() }



More information about the vlc-commits mailing list