on xenial help sign in
Disambiguate "item".
commitd5e1bfa4a622ea3b704c6f051d7dbf541c61989d authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 9 Aug 2013, 10:45 (13 years ago) parent8182fb8
1 file changed+6−4
Dash/Apps/AppPreview.qml+6−4
Dash/Apps/AppPreview.qml+6−4
@@ -30,7 +30,6 @@ DashPreview {
3030 title: root.previewData.title
3131
3232 header: ListView {
33− id: screenshots
3433 spacing: units.gu(1)
3534 orientation: ListView.Horizontal
3635 height: units.gu(22)
@@ -42,14 +41,17 @@ DashPreview {
4241 model: previewData.infoMap["more-screenshots"].value
4342
4443 delegate: UbuntuShape {
45− id: item
46− height: screenshots.height
44+ id: shape
45+ anchors {
46+ top: parent.top
47+ bottom: parent.bottom
48+ }
4749 width: units.gu(12)
4850 radius: "medium"
4951 borderSource: ""
5052 image: Image {
5153 asynchronous: true
52− sourceSize { width: item.width; height: item.height }
54+ sourceSize { width: shape.width; height: shape.height }
5355 source: modelData ? modelData : ""
5456 }
5557 }