on xenial help sign in
Fix CardCarousel.
db5e8b7Michał Sawicz
qml/Dash/CardCarousel.qml+2−4
@@ -35,8 +35,8 @@ DashRenderer {
35 CardTool {
35 CardTool {
36 id: cardTool
36 id: cardTool
37
37
38− template: genericFilterGrid.template
38+ template: cardCarousel.template
39− components: genericFilterGrid.components
39+ components: cardCarousel.components
40 viewWidth: cardCarousel.width
40 viewWidth: cardCarousel.width
41 }
41 }
42
42
@@ -58,8 +58,6 @@ DashRenderer {
58 itemComponent: Card {
58 itemComponent: Card {
59 id: card
59 id: card
60 objectName: "delegate" + index
60 objectName: "delegate" + index
61− width: cardTool.cardWidth / carousel.selectedItemScaleFactor
62− height: cardTool.cardWidth / carousel.selectedItemScaleFactor
63 cardData: model
61 cardData: model
64 template: cardCarousel.template
62 template: cardCarousel.template
65 components: cardCarousel.components
63 components: cardCarousel.components