on xenial help sign in
The condition makes more sense in topMargin than in spacing
commit3990d3f5a8dd683252465aa8899b562c37dbd34d authorAlbert Astals <albert.astals@canonical.com> dateThu 6 Feb 2014, 17:02 (13 years ago) parent047f3c5
1 file changed+2−2
qml/Dash/Previews/PreviewActionCombo.qml+2−2
qml/Dash/Previews/PreviewActionCombo.qml+2−2
@@ -42,9 +42,9 @@ Item {
4242 id: column
4343 property real maxWidth: -1
4444 anchors.top: moreButton.bottom
45− anchors.topMargin: spacing
45+ anchors.topMargin: height > 0 ? spacing : 0
4646 objectName: "buttonColumn"
47− spacing: height > 0 ? units.gu(1) : 0
47+ spacing: units.gu(1)
4848 width: maxWidth
4949
5050 Repeater {