on xenial help sign in
Fixes for the phone
bfc9db6Albert Astals
qml/Dash/ScopesOverview.qml+4−4
@@ -276,10 +276,10 @@ Item {
276 item.model = Qt.binding(function() { return results })
276 item.model = Qt.binding(function() { return results })
277 item.cardTool = cardTool;
277 item.cardTool = cardTool;
278 if (index == 0) {
278 if (index == 0) {
279− item.scopeWidth = root.width;
279+ item.scopeWidth = Qt.binding(function() { return root.width; });
280− item.scopeHeight = root.height;
280+ item.scopeHeight = Qt.binding(function() { return root.height; });
281− item.appliedScale = Qt.binding(function() { return loader.scale })
281+ item.appliedScale = Qt.binding(function() { return loader.scale });
282− item.currentIndex = Qt.binding(function() { return root.currentIndex })
282+ item.currentIndex = Qt.binding(function() { return root.currentIndex });
283 } else if (index == 1) {
283 } else if (index == 1) {
284 item.extraHeight = bottomBar.height;
284 item.extraHeight = bottomBar.height;
285 }
285 }
qml/Dash/ScopesOverviewFavorites.qml+1
@@ -53,6 +53,7 @@ Flickable {
53
53
54 sourceComponent: cardTool.cardComponent
54 sourceComponent: cardTool.cardComponent
55 onLoaded: {
55 onLoaded: {
56+ item.fixedArtShapeSize = Qt.binding(function() { return Qt.size(root.scopeWidth, root.scopeHeight); });
56 item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight / appliedScale; });
57 item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight / appliedScale; });
57 item.fontScale = Qt.binding(function() { return 1 / appliedScale; });
58 item.fontScale = Qt.binding(function() { return 1 / appliedScale; });
58 item.height = Qt.binding(function() { return root.scopeHeight; });
59 item.height = Qt.binding(function() { return root.scopeHeight; });