[vlc-commits] qml: add 'Artists' text header to artistList in MusicArtistsDisplay

Prince Gupta git at videolan.org
Mon Aug 10 12:09:42 CEST 2020


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Thu Jul 23 00:36:31 2020 +0530| [5d1d4a859fdd8dc372e72d447de56530d5b4c52e] | committer: Pierre Lamot

qml: add 'Artists' text header to artistList in MusicArtistsDisplay

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

 modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
index 3277def725..9bc58df09a 100644
--- a/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
@@ -122,6 +122,13 @@ Widgets.NavigableFocusScope {
                     artistList.currentIndex = 0;
             }
 
+            header: Widgets.SubtitleLabel {
+                text: i18n.qtr("Artists")
+                leftPadding: VLCStyle.margin_normal
+                bottomPadding: VLCStyle.margin_normal
+                topPadding: VLCStyle.margin_normal
+            }
+
             delegate: Widgets.ListItem {
                 height: VLCStyle.icon_normal + VLCStyle.margin_small
                 width: artistList.width



More information about the vlc-commits mailing list