on xenial help sign in
Revert r695, 'cause LazyImage gets confused with some images.
commit8968a7ccbcb753de7b2c1b370ca72d3e12688b1f authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 21 Feb 2014, 19:41 (13 years ago) parentc6342b7
1 file changed+5−2
qml/Dash/Previews/PreviewZoomableImage.qml+5−2
qml/Dash/Previews/PreviewZoomableImage.qml+5−2
@@ -30,8 +30,11 @@ PreviewWidget {
3030
3131 LazyImage {
3232 objectName: "image"
33− anchors.fill: parent
34− scaleTo: "fit"
33+ anchors {
34+ top: parent.top
35+ bottom: parent.bottom
36+ }
37+ scaleTo: "height"
3538 source: widgetData["source"]
3639 initialWidth: units.gu(13)
3740 }