on xenial help sign in
The condition makes more sense in topMargin than in spacing
3990d3fAlbert Astals
qml/Dash/Previews/PreviewActionCombo.qml+2−2
@@ -42,9 +42,9 @@ Item {
42 id: column
42 id: column
43 property real maxWidth: -1
43 property real maxWidth: -1
44 anchors.top: moreButton.bottom
44 anchors.top: moreButton.bottom
45− anchors.topMargin: spacing
45+ anchors.topMargin: height > 0 ? spacing : 0
46 objectName: "buttonColumn"
46 objectName: "buttonColumn"
47− spacing: height > 0 ? units.gu(1) : 0
47+ spacing: units.gu(1)
48 width: maxWidth
48 width: maxWidth
49
49
50 Repeater {
50 Repeater {