Index: sources/gui/qml/compounds/CheckListView.qml =================================================================== diff -u -r22bd5aba8d60c1cfda0e0b3bdcb0f54cdc27dafb -rdb2238dcf17941be6a3c587b55a3ef06b94cee96 --- sources/gui/qml/compounds/CheckListView.qml (.../CheckListView.qml) (revision 22bd5aba8d60c1cfda0e0b3bdcb0f54cdc27dafb) +++ sources/gui/qml/compounds/CheckListView.qml (.../CheckListView.qml) (revision db2238dcf17941be6a3c587b55a3ef06b94cee96) @@ -31,10 +31,10 @@ property var stepNames : [] property int completeMargin : 50 property alias completeVisible : _completeText.visible - property int delegateWidth : 350 - property int delegateHeight : 60 + property int delegateWidth : Variables.checkListViewItemWidth + property int delegateHeight : Variables.checkListViewItemHeight - function resetModel() { + function resetItems() { if ( visible ) { for (let i = 0; i < _listView.count; i++) { let model = _listView.itemAt(i) @@ -43,14 +43,14 @@ } } } - function setModel(vIndex, vEntered) { + function setItem(vIndex, vEntered) { let model = _listView.itemAt(vIndex) if ( vEntered ) model.stepStart = true else model.stepDone = true } width : _root.delegateWidth - height : _root.delegateHeight * _listView.count + height : _root.delegateHeight * _root.stepNames.length Column { anchors.centerIn: _root