on xenial help sign in
Move margins into CardHeader.qml.
commit180a1636f53571a31561ec96597e0c8344f802c0 authorMichał Sawicz <michal.sawicz@canonical.com> dateWed 5 Feb 2014, 21:39 (13 years ago) parent7b94488
2 files changed+1−3
qml/Dash/Card.qml−2 qml/Dash/CardHeader.qml+1−1
qml/Dash/Card.qml−2
@@ -120,8 +120,6 @@ AbstractButton {
120120 return parent.left;
121121 }
122122 right: parent.right
123− margins: template && template["overlay"] ? units.gu(1) : 0
124− topMargin: 0
125123 }
126124
127125 mascot: cardData && cardData["mascot"] || ""
qml/Dash/CardHeader.qml+1−1
@@ -44,7 +44,7 @@ Item {
4444 leftMargin: spacing
4545 rightMargin: spacing
4646 }
47− spacing: mascotShape.visible ? margins : 0
47+ spacing: mascotShape.visible || template && template["overlay"] ? margins : 0
4848
4949 UbuntuShape {
5050 id: mascotShape