on xenial help sign in
Don't center items in CardVerticalJournal, kind of beats the purpose... Also don't bind unnecessarily.
commit525995e4e721ff611a8b2967a8b2afe4701035bb authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 27 Jun 2014, 08:47 (12 years ago) parentc9748a6df8b846
1 file changed−3
qml/Dash/CardVerticalJournal.qml−3
qml/Dash/CardVerticalJournal.qml−3
@@ -67,11 +67,8 @@ DashRenderer {
6767 id: loader
6868 sourceComponent: cardTool.cardComponent
6969 width: cardTool.cardWidth
70− anchors.horizontalCenter: parent.horizontalCenter
7170 onLoaded: {
7271 item.objectName = "delegate" + index;
73− item.width = Qt.binding(function() { return cardTool.cardWidth; });
74− item.height = Qt.binding(function() { return cardTool.cardHeight; });
7572 item.fixedArtShapeSize = Qt.binding(function() { return cardTool.artShapeSize; });
7673 item.fixedHeaderHeight = Qt.binding(function() { return cardTool.headerHeight; });
7774 item.cardData = Qt.binding(function() { return model; });