~dandrader/unity8/multiInstanceApp

« back to all changes in this revision

Viewing changes to tests/plugins/Dash/cardcreator/7.res.cardcreator

Initial merge from trunk; some tests don't run again yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AbstractButton { 
2
2
                id: root; 
3
3
                property var cardData; 
4
 
                property string backgroundShapeStyle: "inset"; 
 
4
                property string backgroundShapeStyle: "flat"; 
5
5
                property real fontScale: 1.0; 
6
6
                property var scopeStyle: null; 
7
7
                readonly property string title: cardData && cardData["title"] || ""; 
14
14
                                objectName: "backgroundLoader"; 
15
15
                                anchors.fill: parent; 
16
16
                                asynchronous: false;
17
 
                                visible: status == Loader.Ready; 
 
17
                                visible: status === Loader.Ready;
18
18
                                sourceComponent: UbuntuShape { 
19
19
                                    objectName: "background"; 
20
 
                                    radius: "medium"; 
 
20
                                    radius: "small"; 
21
21
                                    aspect: { 
22
22
                                        switch (root.backgroundShapeStyle) { 
23
23
                                            case "inset": return UbuntuShape.Inset; 
96
96
                        visible: showHeader ; 
97
97
                        width: undefined;
98
98
                        text: root.title; 
99
 
                        font.weight: cardData && cardData["subtitle"] ? Font.DemiBold : Font.Normal; 
 
99
                        font.weight: Font.Normal; 
100
100
                        horizontalAlignment: Text.AlignLeft;
101
101
                    }
102
102
,Label {