on xenial help sign in
Fix CardHeader test.
commit200409686270aa42df9ae903cfc6f5aa18e182a9 authorMichał Sawicz <michal.sawicz@canonical.com> dateMon 3 Mar 2014, 10:59 (13 years ago) parentfca4780
1 file changed+1−1
tests/qmltests/Dash/tst_CardHeader.qml+1−1
tests/qmltests/Dash/tst_CardHeader.qml+1−1
@@ -122,7 +122,7 @@ Rectangle {
122122 return [
123123 { tag: "Column width", object: column, width: cardHeader.width },
124124 { tag: "Column width with mascot", object: column, width: cardHeader.width - mascot.width - outerRow.margins * 3, mascot: "artwork/avatar.png" },
125− { tag: "Header height", object: cardHeader, height: function() { return subtitleLabel.y + subtitleLabel.height + outerRow.margins * 2 } },
125+ { tag: "Header height", object: cardHeader, height: function() { return outerRow.height + outerRow.margins * 2 } },
126126 ]
127127 }
128128