on xenial help sign in
Fix CardTool tests.
4bb3ca0Michał Karnicki
tests/qmltests/Dash/tst_CardTool.qml+5−5
@@ -137,7 +137,7 @@ Rectangle {
137 height: cardTool.cardHeight || implicitHeight
137 height: cardTool.cardHeight || implicitHeight
138
138
139 clip: true
139 clip: true
140− titleHorizontalAlignment: cardTool.titleHorizontalAlignment
140+ headerAlignment: cardTool.headerAlignment
141
141
142 Rectangle {
142 Rectangle {
143 anchors.fill: parent
143 anchors.fill: parent
@@ -316,13 +316,13 @@ Rectangle {
316
316
317 function test_card_header_component_alignment_data() {
317 function test_card_header_component_alignment_data() {
318 return [
318 return [
319− { tag: "Title - vertical", component: "titleLabel", property: "titleHorizontalAlignment",
319+ { tag: "Title - vertical", component: "titleLabel", property: "headerAlignment",
320 value: Text.AlignLeft, index: 11, layout_index: 0 },
320 value: Text.AlignLeft, index: 11, layout_index: 0 },
321− { tag: "Title - horizontal", component: "titleLabel", property: "titleHorizontalAlignment",
321+ { tag: "Title - horizontal", component: "titleLabel", property: "headerAlignment",
322 value: Text.AlignHCenter, index: 12, layout_index: 0},
322 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",
324 value: Text.AlignLeft, index: 13, layout_index: 0},
324 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",
326 value: Text.AlignLeft, index: 14, layout_index: 0},
326 value: Text.AlignLeft, index: 14, layout_index: 0},
327 ]
327 ]
328 }
328 }