on xenial help sign in
Add TODO and make it clear when collapsedItemCount is invalid.
a73b89fMichał Sawicz
qml/Dash/CardVerticalJournal.qml+1
@@ -25,6 +25,7 @@ DashRenderer {
25
25
26 expandedHeight: Math.max(cardVerticalJournal.implicitHeight, minHeight)
26 expandedHeight: Math.max(cardVerticalJournal.implicitHeight, minHeight)
27 collapsedHeight: Math.max(Math.min(collapseLimit, cardVerticalJournal.implicitHeight), minHeight)
27 collapsedHeight: Math.max(Math.min(collapseLimit, cardVerticalJournal.implicitHeight), minHeight)
28+ // TODO: implement collapsedItemCount
28
29
29 // This minHeight is used as bootstrapper for the height. Vertical Journal
30 // This minHeight is used as bootstrapper for the height. Vertical Journal
30 // is special by the fact that it doesn't know how to calculate its implicit height unless we give it
31 // 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 {
21
21
22 property int expandedHeight
22 property int expandedHeight
23
23
24− property int collapsedItemCount: 0
24+ property int collapsedItemCount: -1
25
25
26 property int displayMarginBeginning: 0
26 property int displayMarginBeginning: 0
27
27