Avoid binding loop in DashRenderer and CardCarousel.
commitdc31931bd7323d06b808b8450114b1179a5df7c5
authorMichał Sawicz <michal.sawicz@canonical.com>
dateThu 10 Jul 2014, 20:21 (12 years ago)
parentce802bf
qml/Dash/CardCarousel.qml+2−1
@@ -27,7 +27,8 @@ DashRenderer {
2727 property alias selectedItemScaleFactor: carousel.selectedItemScaleFactor
2828 property alias tileAspectRatio: carousel.tileAspectRatio
2929
30− height: carousel.implicitHeight + units.gu(6)
30+ expandedHeight: carousel.implicitHeight + units.gu(6)
31+ collapsedHeight: expandedHeight
3132
3233 Carousel {
3334 id: carousel
qml/Dash/DashRenderer.qml+2−2
@@ -17,9 +17,9 @@
1717import QtQuick 2.0
1818
1919Item {
20− property int collapsedHeight: height
20+ property int collapsedHeight
2121
22− property int expandedHeight: height
22+ property int expandedHeight
2323
2424 property int displayMarginBeginning: 0
2525