@@ -99,18 +99,44 @@ Item {
9999 }
100100 }
101101
102− Label {
103− objectName: "trackTitleLabel"
104− fontSize: "small"
105− opacity: 0.9
106− color: "white"
107− horizontalAlignment: Text.AlignLeft
102+ Item {
108103 anchors.verticalCenter: parent.verticalCenter
109104 width: parent.column2Width
110− text: modelData["title"]
111− style: Text.Raised
112− styleColor: "black"
113− elide: Text.ElideRight
105+ height: trackArtistLabel.visible ? trackTitleLabel.height + trackArtistLabel.height : trackTitleLabel.height
106+
107+ Label {
108+ id: trackTitleLabel
109+ objectName: "trackTitleLabel"
110+ anchors.top: parent.top
111+ anchors.left: parent.left
112+ anchors.right: parent.right
113+ fontSize: "small"
114+ opacity: 0.9
115+ color: "white"
116+ horizontalAlignment: Text.AlignLeft
117+ text: modelData["title"]
118+ style: Text.Raised
119+ styleColor: "black"
120+ elide: Text.ElideRight
121+ }
122+
123+ Label {
124+ id: trackArtistLabel
125+ objectName: "trackArtistLabel"
126+ fontSize: "small"
127+ opacity: 0.9
128+ color: "white"
129+ horizontalAlignment: Text.AlignLeft
130+ anchors.top: trackTitleLabel.bottom
131+ anchors.left: parent.left
132+ anchors.right: parent.right
133+ width: parent.column2Width
134+ text: modelData["artist"]
135+ style: Text.Raised
136+ styleColor: "black"
137+ elide: Text.ElideRight
138+ visible: modelData["artist"] !== undefined
139+ }
114140
115141 UbuntuShape {
116142 id: progressBarFill