@@ -24,8 +24,7 @@ DashRenderer {
24 if (!cardTool || !cardTool.template || typeof cardTool.template["collapsed-rows"] != "number") return 2;
24 if (!cardTool || !cardTool.template || typeof cardTool.template["collapsed-rows"] != "number") return 2;
25 return cardTool.template["collapsed-rows"];
25 return cardTool.template["collapsed-rows"];
27− // hackish, relies on GenericScopeView.qml:335 tweak to detect application icons in click scope
28− readonly property var artShapeStyle: cardTool.artShapeSize === Qt.size(units.gu(8), units.gu(7.5)) ? "icon" : "inset";
27+ property string artShapeStyle: "inset";
30 expandedHeight: grid.totalContentHeight
29 expandedHeight: grid.totalContentHeight
31 collapsedHeight: Math.min(grid.contentHeightForRows(collapsedRows, grid.cellHeight), expandedHeight)
30 collapsedHeight: Math.min(grid.contentHeightForRows(collapsedRows, grid.cellHeight), expandedHeight)
@@ -54,7 +53,6 @@ DashRenderer {
54 displayMarginEnd: root.displayMarginEnd
53 displayMarginEnd: root.displayMarginEnd
55 cacheBuffer: root.cacheBuffer
54 cacheBuffer: root.cacheBuffer
56 interactive: false
55 interactive: false
57− topMargin: root.artShapeStyle === "icon" ? units.gu(0.1) : 0 // otherwise when we have a shadow, its top is clipped
58 delegate: Item {
56 delegate: Item {
59 width: grid.cellWidth
57 width: grid.cellWidth
60 height: grid.cellHeight
58 height: grid.cellHeight