on xenial help sign in
Make the artShapeSize assignment be updated when using dynamic grid units
6f24d85Albert Astals Cid
qml/Dash/GenericScopeView.qml+1−1
@@ -363,7 +363,7 @@ FocusScope {
363 clickScopeSizingHacks();
363 clickScopeSizingHacks();
364 if (scope && scope.id === "clickscope") {
364 if (scope && scope.id === "clickscope") {
365 if (categoryId === "predefined" || categoryId === "local") {
365 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)) });
367 item.artShapeStyle = "icon";
367 item.artShapeStyle = "icon";
368 } else {
368 } else {
369 // Should be ubuntu store icon
369 // Should be ubuntu store icon