on xenial help sign in
As review
326b96aAndrea Cimitan
tests/qmltests/Dash/tst_Card.qml+4−4
@@ -60,7 +60,7 @@ Rectangle {
60 "layout": { "components": Helpers.update(JSON.parse(Helpers.fullMapping), { "art": { "aspect-ratio": 0.7 } }) }
60 "layout": { "components": Helpers.update(JSON.parse(Helpers.fullMapping), { "art": { "aspect-ratio": 0.7 } }) }
61 },
61 },
62 {
62 {
63− "name": "Art, header, summary - horizontal",
63+ "name": "Art, header, summary, background - horizontal",
64 "layout": { "template": { "card-layout": "horizontal", "card-background": { "type": "gradient", "elements": ["grey", "white"] } },
64 "layout": { "template": { "card-layout": "horizontal", "card-background": { "type": "gradient", "elements": ["grey", "white"] } },
65 "components": JSON.parse(Helpers.fullMapping) }
65 "components": JSON.parse(Helpers.fullMapping) }
66 },
66 },
@@ -102,9 +102,9 @@ Rectangle {
102 "components": { "art": "art", "title": "title" } }
102 "components": { "art": "art", "title": "title" } }
103 },
103 },
104 {
104 {
105− "name": "Art, summary, - horizontal",
105+ "name": "Art, header, summary - horizontal",
106 "layout": { "template": { "card-layout": "horizontal" },
106 "layout": { "template": { "card-layout": "horizontal" },
107− "components": { "art": "art", "summary": "summary" } }
107+ "components": JSON.parse(Helpers.fullMapping) }
108 },
108 },
109 ]
109 ]
110
110
@@ -420,7 +420,7 @@ Rectangle {
420 background: Qt.resolvedUrl("artwork/checkers.png"), index: 10 },
420 background: Qt.resolvedUrl("artwork/checkers.png"), index: 10 },
421 { tag: "Gradient background", visible: true, color: "#808080", gradientColor: "#ffffff", index: 11 },
421 { tag: "Gradient background", visible: true, color: "#808080", gradientColor: "#ffffff", index: 11 },
422 { tag: "Image background", visible: true, image: Qt.resolvedUrl("artwork/checkers.png"), index: 12 },
422 { tag: "Image background", visible: true, image: Qt.resolvedUrl("artwork/checkers.png"), index: 12 },
423− { tag: "Horizontal art and summary", visible: false, index: 14 },
423+ { tag: "Horizontal no background", visible: false, index: 14 },
424 ];
424 ];
425 }
425 }
426
426