fix height issues with LazyImage and Loader
commite0752da02a26a0c207fa9a367033cae8981e09ef
authorMichael Zanetti <michael.zanetti@canonical.com>
dateWed 2 Oct 2013, 21:21 (13 years ago)
parent54c61a5
Dash/DashPreview.qml−1
@@ -155,7 +155,6 @@ Rectangle {
155155 left: parent.left
156156 right: parent.right
157157 }
158− height: childrenRect.height
159158 }
160159
161160 Loader {
Dash/Generic/GenericPreview.qml−1
@@ -41,7 +41,6 @@ DashPreview {
4141 }
4242 scaleTo: "width"
4343 source: genericPreview.previewData.image
44− height: implicitHeight
4544 initialHeight: width
4645 }
4746 }
Dash/Movie/MoviePreview.qml−1
@@ -38,7 +38,6 @@ GenericPreview {
3838 scaleTo: "width"
3939 visible: height > 0
4040 source: root.url
41− height: implicitHeight
4241 initialHeight: width * 10 / 16
4342
4443 Image {