on xenial help sign in
Add TODO and make it clear when collapsedItemCount is invalid.
commita73b89f195baae968cd6f971daa5eba82615abec authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 22 Jul 2014, 13:17 (12 years ago) parent5d2e8e1
2 files changed+2−1
qml/Dash/CardVerticalJournal.qml+1 qml/Dash/DashRenderer.qml+1−1
qml/Dash/CardVerticalJournal.qml+1
@@ -25,6 +25,7 @@ DashRenderer {
2525
2626 expandedHeight: Math.max(cardVerticalJournal.implicitHeight, minHeight)
2727 collapsedHeight: Math.max(Math.min(collapseLimit, cardVerticalJournal.implicitHeight), minHeight)
28+ // TODO: implement collapsedItemCount
2829
2930 // This minHeight is used as bootstrapper for the height. Vertical Journal
3031 // is special by the fact that it doesn't know how to calculate its implicit height unless we give it
qml/Dash/DashRenderer.qml+1−1
@@ -21,7 +21,7 @@ Item {
2121
2222 property int expandedHeight
2323
24− property int collapsedItemCount: 0
24+ property int collapsedItemCount: -1
2525
2626 property int displayMarginBeginning: 0
2727