on xenial help sign in
Make the grid of buttons non-interactive.
5e385bbMichał Sawicz
Dash/Apps/AppPreview.qml+1
@@ -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))
71
71
72+ interactive: false
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