~mzanetti/unity8/fix-1648251

« back to all changes in this revision

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

  • Committer: Michael Zanetti
  • Date: 2016-12-01 12:20:34 UTC
  • mfrom: (2525.1.179 unity8)
  • Revision ID: michael.zanetti@canonical.com-20161201122034-cpvbf7webbhg2wph
merge 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"] || ""; 
28
28
                                        anchors.fill: parent;
29
29
                                        source: artImage;
30
30
                                        sourceFillMode: UbuntuShape.PreserveAspectCrop;
31
 
                                        radius: "medium";
32
 
                                        aspect: UbuntuShape.Inset;
 
31
                                        radius: "small";
 
32
                                        aspect: UbuntuShape.Flat;
33
33
                                    }
34
34
                                    width: image.status !== Image.Ready ? 0 : image.width;
35
35
                                    height: image.status !== Image.Ready ? 0 : image.height;
62
62
                        visible: showHeader ; 
63
63
                        width: undefined;
64
64
                        text: root.title; 
65
 
                        font.weight: cardData && cardData["subtitle"] ? Font.DemiBold : Font.Normal; 
 
65
                        font.weight: Font.Normal; 
66
66
                        horizontalAlignment: Text.AlignHCenter;
67
67
                    }
68
68
implicitHeight: titleLabel.y + titleLabel.height + units.gu(1);