on xenial help sign in
Fix CardTool tests.
commit4bb3ca0488096076b7a9f9c9d4143f1af7ba4879 authorMichał Karnicki <michal.karnicki@canonical.com> dateThu 6 Feb 2014, 16:39 (13 years ago) parent7b5f1b2
1 file changed+5−5
tests/qmltests/Dash/tst_CardTool.qml+5−5
tests/qmltests/Dash/tst_CardTool.qml+5−5
@@ -137,7 +137,7 @@ Rectangle {
137137 height: cardTool.cardHeight || implicitHeight
138138
139139 clip: true
140− titleHorizontalAlignment: cardTool.titleHorizontalAlignment
140+ headerAlignment: cardTool.headerAlignment
141141
142142 Rectangle {
143143 anchors.fill: parent
@@ -316,13 +316,13 @@ Rectangle {
316316
317317 function test_card_header_component_alignment_data() {
318318 return [
319− { tag: "Title - vertical", component: "titleLabel", property: "titleHorizontalAlignment",
319+ { tag: "Title - vertical", component: "titleLabel", property: "headerAlignment",
320320 value: Text.AlignLeft, index: 11, layout_index: 0 },
321− { tag: "Title - horizontal", component: "titleLabel", property: "titleHorizontalAlignment",
321+ { tag: "Title - horizontal", component: "titleLabel", property: "headerAlignment",
322322 value: Text.AlignHCenter, index: 12, layout_index: 0},
323− { tag: "Title, subtitle - vertical", component: "titleLabel", property: "titleHorizontalAlignment",
323+ { tag: "Title, subtitle - vertical", component: "titleLabel", property: "headerAlignment",
324324 value: Text.AlignLeft, index: 13, layout_index: 0},
325− { tag: "Title, price - horizontal", component: "titleLabel", property: "titleHorizontalAlignment",
325+ { tag: "Title, price - horizontal", component: "titleLabel", property: "headerAlignment",
326326 value: Text.AlignLeft, index: 14, layout_index: 0},
327327 ]
328328 }