@@ -30,7 +30,6 @@ DashPreview {
30 title: root.previewData.title
30 title: root.previewData.title
32 header: ListView {
32 header: ListView {
34 spacing: units.gu(1)
33 spacing: units.gu(1)
35 orientation: ListView.Horizontal
34 orientation: ListView.Horizontal
36 height: units.gu(22)
35 height: units.gu(22)
@@ -42,14 +41,17 @@ DashPreview {
42 model: previewData.infoMap["more-screenshots"].value
41 model: previewData.infoMap["more-screenshots"].value
44 delegate: UbuntuShape {
43 delegate: UbuntuShape {
45− id: item
44+ id: shape
46− height: screenshots.height
45+ anchors {
47+ bottom: parent.bottom
47 width: units.gu(12)
49 width: units.gu(12)
48 radius: "medium"
50 radius: "medium"
49 borderSource: ""
51 borderSource: ""
50 image: Image {
52 image: Image {
51 asynchronous: true
53 asynchronous: true
52− sourceSize { width: item.width; height: item.height }
54+ sourceSize { width: shape.width; height: shape.height }
53 source: modelData ? modelData : ""
55 source: modelData ? modelData : ""