on xenial help sign in
We need to boostrap height also when we have 1 item ^_^

Fixes: 1337408 Approved by: Michał Sawicz

commitfbcec327d09cbdd81d55b850993eb81caf447245 authorAlbert Astals <albert.astals@canonical.com> dateWed 9 Jul 2014, 19:43 (12 years ago) parent0591307c0c27a1
1 file changed+1−1
qml/Dash/CardVerticalJournal.qml+1−1
qml/Dash/CardVerticalJournal.qml+1−1
@@ -31,7 +31,7 @@ DashRenderer {
3131 // is special by the fact that it doesn't know how to calculate its implicit height unless we give it
3232 // enough height that it can start creating its children so we make sure it has enough height for that
3333 // in case the model is non empty
34− readonly property double minHeight: root.model.count > 1 ? cardVerticalJournal.rowSpacing + 1 : 0
34+ readonly property double minHeight: root.model.count >= 1 ? cardVerticalJournal.rowSpacing + 1 : 0
3535 height: filtered ? Math.max(collapsedHeight, minHeight) : uncollapsedHeight
3636
3737 Behavior on height {