@@ -33,6 +33,23 @@ DashRenderer {
33 // in case the model is non empty
33 // 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
36+ function clearView() {
37+ cardVerticalJournal.model = null;
38+ cardVerticalJournal.model = root.model;
41+ // Clear the view if the cardTool changes its sizes
42+ // means it is still settling. This is
43+ // necessary because the VerticalJournal does
44+ // not support its elements changing height so
45+ // we need to construct all the items with the settled
46+ // size of the cardTool
49+ onArtShapeSizeChanged: root.clearView();
50+ onHeaderHeightChanged: root.clearView();
36 ResponsiveVerticalJournal {
53 ResponsiveVerticalJournal {
37 id: cardVerticalJournal
54 id: cardVerticalJournal