on xenial help sign in
Fix tests
commitacf78dba5f1f1147d97dfcf3d10eb6c37110753e authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 15 May 2014, 11:12 (12 years ago) parentc0ec99d
5 files changed+7
tests/plugins/Dash/cardcreator/1.res+1 tests/plugins/Dash/cardcreator/2.res+1 tests/plugins/Dash/cardcreator/3.res+2 tests/plugins/Dash/cardcreator/4.res+1 tests/plugins/Dash/cardcreator/5.res+2
tests/plugins/Dash/cardcreator/1.res+1
@@ -3,6 +3,7 @@ AbstractButton {
33 property var template;
44 property var components;
55 property var cardData;
6+ property var artShapeBorderSource;
67 property real fontScale: 1.0;
78 property int headerAlignment: Text.AlignLeft;
89 property int fixedHeaderHeight: -1;
tests/plugins/Dash/cardcreator/2.res+1
@@ -3,6 +3,7 @@ AbstractButton {
33 property var template;
44 property var components;
55 property var cardData;
6+ property var artShapeBorderSource;
67 property real fontScale: 1.0;
78 property int headerAlignment: Text.AlignLeft;
89 property int fixedHeaderHeight: -1;
tests/plugins/Dash/cardcreator/3.res+2
@@ -3,6 +3,7 @@ AbstractButton {
33 property var template;
44 property var components;
55 property var cardData;
6+ property var artShapeBorderSource;
67 property real fontScale: 1.0;
78 property int headerAlignment: Text.AlignLeft;
89 property int fixedHeaderHeight: -1;
@@ -32,6 +33,7 @@ Item {
3233 Component.onCompleted: updateWidthHeightBindings();
3334 onAspectSmallerThanImageAspectChanged: updateWidthHeightBindings();
3435 visible: image.status == Image.Ready;
36+ borderSource: artShapeBorderSource;
3537 function updateWidthHeightBindings() {
3638 if (aspectSmallerThanImageAspect) {
3739 width = Qt.binding(function() { return !visible ? 0 : image.width });
tests/plugins/Dash/cardcreator/4.res+1
@@ -3,6 +3,7 @@ AbstractButton {
33 property var template;
44 property var components;
55 property var cardData;
6+ property var artShapeBorderSource;
67 property real fontScale: 1.0;
78 property int headerAlignment: Text.AlignLeft;
89 property int fixedHeaderHeight: -1;
tests/plugins/Dash/cardcreator/5.res+2
@@ -3,6 +3,7 @@ AbstractButton {
33 property var template;
44 property var components;
55 property var cardData;
6+ property var artShapeBorderSource;
67 property real fontScale: 1.0;
78 property int headerAlignment: Text.AlignLeft;
89 property int fixedHeaderHeight: -1;
@@ -32,6 +33,7 @@ Item {
3233 Component.onCompleted: updateWidthHeightBindings();
3334 onAspectSmallerThanImageAspectChanged: updateWidthHeightBindings();
3435 visible: image.status == Image.Ready;
36+ borderSource: artShapeBorderSource;
3537 function updateWidthHeightBindings() {
3638 if (aspectSmallerThanImageAspect) {
3739 width = Qt.binding(function() { return !visible ? 0 : image.width });