@@ -69,6 +69,7 @@ DashPreview {
69 property int spacing: units.gu(1)
69 property int spacing: units.gu(1)
70 height: Math.max(units.gu(5), units.gu(5)*numOfRows + spacing*(numOfRows - 1))
70 height: Math.max(units.gu(5), units.gu(5)*numOfRows + spacing*(numOfRows - 1))
72 cellWidth: Math.max(units.gu(9), width / 2)
73 cellWidth: Math.max(units.gu(9), width / 2)
73 cellHeight: buttonHeight + spacing
74 cellHeight: buttonHeight + spacing
74 property int buttonWidth: count > 1 ? Math.max(0, width / 2 - spacing) : width
75 property int buttonWidth: count > 1 ? Math.max(0, width / 2 - spacing) : width