GroupArtistListComponent.qml Example File
listdecorators/assets/GroupArtistListComponent.qml
import bb.cascades 1.0
ListItemComponent {
type: "group"
Container {
id: item
horizontalAlignment: HorizontalAlignment.Fill
layout: StackLayout {
orientation: LayoutOrientation.LeftToRight
}
Container {
layout: StackLayout {
orientation: LayoutOrientation.LeftToRight
}
layoutProperties: StackLayoutProperties {
spaceQuota: 1
}
background: Color.Black
CoverArt {
}
Container {
layout: DockLayout {
}
layoutProperties: StackLayoutProperties {
spaceQuota: 1
}
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: HorizontalAlignment.Fill
ImageView {
verticalAlignment: VerticalAlignment.Center
imageSource: "asset:///images/grouptag.png"
opacity: 0.7
}
Container {
verticalAlignment: VerticalAlignment.Center
leftPadding: 85
Label {
horizontalAlignment: HorizontalAlignment.Left
verticalAlignment: VerticalAlignment.Center
text: ListItemData.name
textStyle {
base: SystemDefaults.TextStyles.PrimaryText
}
}
}
}
}
}
}