@@ -137,7 +137,7 @@ Rectangle {
137 height: cardTool.cardHeight || implicitHeight
137 height: cardTool.cardHeight || implicitHeight
139 clip: true
139 clip: true
140− titleHorizontalAlignment: cardTool.titleHorizontalAlignment
140+ headerAlignment: cardTool.headerAlignment
142 Rectangle {
142 Rectangle {
143 anchors.fill: parent
143 anchors.fill: parent
@@ -316,13 +316,13 @@ Rectangle {
317 function test_card_header_component_alignment_data() {
317 function test_card_header_component_alignment_data() {
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},