on xenial help sign in
No margin when no summary.
120efa6Michał Sawicz
qml/Dash/Card.qml+1−1
@@ -29,7 +29,7 @@ Item {
29 property bool showHeader: true
29 property bool showHeader: true
30
30
31 implicitWidth: childrenRect.width
31 implicitWidth: childrenRect.width
32− implicitHeight: summary.y + summary.height + (background.visible ? units.gu(1) : 0)
32+ implicitHeight: summary.y + summary.height + (summary.text && background.visible ? units.gu(1) : 0)
33
33
34 UbuntuShape {
34 UbuntuShape {
35 id: background
35 id: background