on xenial help sign in
Specify min spacing for the apps scope on wide screens
c81c82eAlbert Astals Cid
qml/Dash/CardGrid.qml+1
@@ -26,6 +26,7 @@ DashRenderer {
26 }
26 }
27 property string artShapeStyle: "inset";
27 property string artShapeStyle: "inset";
28 property string backgroundShapeStyle: "inset";
28 property string backgroundShapeStyle: "inset";
29+ property alias minimumHorizontalSpacing: grid.minimumHorizontalSpacing
29
30
30 expandedHeight: grid.totalContentHeight
31 expandedHeight: grid.totalContentHeight
31 collapsedHeight: Math.min(grid.contentHeightForRows(collapsedRows, grid.cellHeight), expandedHeight)
32 collapsedHeight: Math.min(grid.contentHeightForRows(collapsedRows, grid.cellHeight), expandedHeight)
qml/Dash/GenericScopeView.qml+1
@@ -366,6 +366,7 @@ FocusScope {
366 if (scopeView.width > units.gu(45)) {
366 if (scopeView.width > units.gu(45)) {
367 if (scopeView.width >= units.gu(70)) {
367 if (scopeView.width >= units.gu(70)) {
368 cardTool.cardWidth = units.gu(11);
368 cardTool.cardWidth = units.gu(11);
369+ item.minimumHorizontalSpacing = units.gu(5)
369 } else {
370 } else {
370 cardTool.cardWidth = units.gu(10);
371 cardTool.cardWidth = units.gu(10);
371 }
372 }