on xenial help sign in
Make the artShapeSize assignment be updated when using dynamic grid units

By using a binding Approved by: Gerry Boland, Unity8 CI Bot, Andrea Cimitan

commit6f24d855536b185816be977339cf528afbeb8443 authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 12 Feb 2016, 00:11 (11 years ago) parentac4d60b195d3d5
1 file changed+1−1
qml/Dash/GenericScopeView.qml+1−1
qml/Dash/GenericScopeView.qml+1−1
@@ -363,7 +363,7 @@ FocusScope {
363363 clickScopeSizingHacks();
364364 if (scope && scope.id === "clickscope") {
365365 if (categoryId === "predefined" || categoryId === "local") {
366− cardTool.artShapeSize = Qt.size(units.gu(8), units.gu(7.5));
366+ cardTool.artShapeSize = Qt.binding(function() { return Qt.size(units.gu(8), units.gu(7.5)) });
367367 item.artShapeStyle = "icon";
368368 } else {
369369 // Should be ubuntu store icon