on xenial help sign in
Revert r695, 'cause LazyImage gets confused with some images.
8968a7cMichał Sawicz
qml/Dash/Previews/PreviewZoomableImage.qml+5−2
@@ -30,8 +30,11 @@ PreviewWidget {
30
30
31 LazyImage {
31 LazyImage {
32 objectName: "image"
32 objectName: "image"
33− anchors.fill: parent
33+ anchors {
34+ top: parent.top
35+ bottom: parent.bottom
36+ }
34− scaleTo: "fit"
37+ scaleTo: "height"
35 source: widgetData["source"]
38 source: widgetData["source"]
36 initialWidth: units.gu(13)
39 initialWidth: units.gu(13)
37 }
40 }