~ci-train-bot/unity8/unity8-ubuntu-zesty-2404

« back to all changes in this revision

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

  • Committer: Nick Dedekind
  • Date: 2016-11-28 13:46:55 UTC
  • mfrom: (2704 unity8)
  • mto: This revision was merged to the branch mainline in revision 2752.
  • Revision ID: nick.dedekind@canonical.com-20161128134655-vd70a64pbci1b4oc
merged with trunk

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"] || ""; 
17
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; 
66
66
                                        anchors.fill: parent;
67
67
                                        source: artImage;
68
68
                                        sourceFillMode: UbuntuShape.PreserveAspectCrop;
69
 
                                        radius: "medium";
 
69
                                        radius: "small";
70
70
                                        aspect: UbuntuShape.Flat;
71
71
                                    }
72
72
                                    width: image.status !== Image.Ready ? 0 : image.width;
129
129
                        visible: showHeader ; 
130
130
                        width: undefined; 
131
131
                        text: root.title; 
132
 
                        font.weight: cardData && cardData["subtitle"] ? Font.DemiBold : Font.Normal; 
 
132
                        font.weight: Font.Normal; 
133
133
                        horizontalAlignment: Text.AlignLeft;
134
134
                    }
135
135
,Label {