[vlc-devel] [PATCH 17/29] qml: add 'Artists' text header to artistList in MusicArtistsDisplay
Prince Gupta
guptaprince8832 at gmail.com
Tue Aug 4 13:34:50 CEST 2020
---
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
--
2.25.1
More information about the vlc-devel
mailing list