on xenial help sign in
Change topMargin based on width

I think it's not a good idea to change the vertical spacing while you do an horizontal resize, but i'm not a designer, so do what Cimi suggested

commit024a62e2ac33489d69e5e48321d2b4b814b905cf authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 13 Oct 2016, 12:26 (10 years ago) parent0bcb45ad5e0fb0
1 file changed+1
qml/Dash/Previews/Preview.qml+1
qml/Dash/Previews/Preview.qml+1
@@ -72,6 +72,7 @@ Item {
7272 anchors {
7373 top: parent.top
7474 bottom: parent.bottom
75+ topMargin: row.columns > 1 ? units.gu(4) : units.gu(2)
7576 }
7677 width: row.columnWidth
7778 spacing: units.gu(1)