on xenial help sign in
Specify min spacing for the apps scope on wide screens
commitc81c82ee7e4f08ae556de5d43553e349e8eb38c0 authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 22 Jan 2016, 15:58 (11 years ago) parent9a5b11d
2 files changed+2
qml/Dash/CardGrid.qml+1 qml/Dash/GenericScopeView.qml+1
qml/Dash/CardGrid.qml+1
@@ -26,6 +26,7 @@ DashRenderer {
2626 }
2727 property string artShapeStyle: "inset";
2828 property string backgroundShapeStyle: "inset";
29+ property alias minimumHorizontalSpacing: grid.minimumHorizontalSpacing
2930
3031 expandedHeight: grid.totalContentHeight
3132 collapsedHeight: Math.min(grid.contentHeightForRows(collapsedRows, grid.cellHeight), expandedHeight)
qml/Dash/GenericScopeView.qml+1
@@ -366,6 +366,7 @@ FocusScope {
366366 if (scopeView.width > units.gu(45)) {
367367 if (scopeView.width >= units.gu(70)) {
368368 cardTool.cardWidth = units.gu(11);
369+ item.minimumHorizontalSpacing = units.gu(5)
369370 } else {
370371 cardTool.cardWidth = units.gu(10);
371372 }