on xenial help sign in
Change topMargin based on width
024a62eAlbert Astals Cid
qml/Dash/Previews/Preview.qml+1
@@ -72,6 +72,7 @@ Item {
72 anchors {
72 anchors {
73 top: parent.top
73 top: parent.top
74 bottom: parent.bottom
74 bottom: parent.bottom
75+ topMargin: row.columns > 1 ? units.gu(4) : units.gu(2)
75 }
76 }
76 width: row.columnWidth
77 width: row.columnWidth
77 spacing: units.gu(1)
78 spacing: units.gu(1)