~unity-team/unity8/hotfix-launcher-on-dash

« back to all changes in this revision

Viewing changes to qml/Dash/Previews/PreviewZoomableImage.qml

  • Committer: Michael Terry
  • Date: 2014-05-05 22:07:57 UTC
  • mfrom: (881 unity8)
  • mto: (138.5.2 split-logrotate)
  • mto: This revision was merged to the branch mainline in revision 933.
  • Revision ID: michael.terry@canonical.com-20140505220757-dwz5ulj42vz1ahxv
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    id: root
29
29
    implicitHeight: units.gu(22)
30
30
 
31
 
    LazyImage {
 
31
    ZoomableImage {
 
32
        id: image
32
33
        objectName: "image"
33
 
        anchors {
34
 
            top: parent.top
35
 
            bottom: parent.bottom
36
 
        }
37
 
        scaleTo: "height"
38
34
        source: widgetData["source"]
39
 
        initialWidth: units.gu(13)
 
35
        zoomable: widgetData["zoomable"] ? widgetData["zoomable"] : false
 
36
        anchors.fill: parent
40
37
    }
41
38
}