@@ -25,12 +25,12 @@ ListView {
2525 property var cardTool: null
2626 property real scopeHeight: 0
2727 property real scopeWidth: 0
28+ property real appliedScale: 1
2829
2930 orientation: ListView.Horizontal
30− // TODO root.parent.scale
3131 // TODO current item
3232
33− spacing: units.gu(2) / root.parent.scale
33+ spacing: units.gu(2) / appliedScale
3434
3535 delegate: Loader {
3636 id: loader
@@ -38,8 +38,8 @@ ListView {
3838
3939 sourceComponent: cardTool.cardComponent
4040 onLoaded: {
41− item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight / root.parent.scale; });
42− item.fontScale = Qt.binding(function() { return 1 / root.parent.scale; });
41+ item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight / appliedScale; });
42+ item.fontScale = Qt.binding(function() { return 1 / appliedScale; });
4343 item.height = Qt.binding(function() { return root.scopeHeight; });
4444 item.width = Qt.binding(function() { return root.scopeWidth; });
4545 item.cardData = Qt.binding(function() { return model; });