@@ -38,10 +38,12 @@ Item {
39 UbuntuShape {
39 UbuntuShape {
40 id: __avatarImageContainer
40 id: __avatarImageContainer
41− anchors.top: parent.top
42+ top: parent.top
42− anchors.topMargin: units.gu(2)
43+ topMargin: units.gu(2)
43− anchors.left: parent.left
44+ left: parent.left
44− anchors.leftMargin: units.gu(2)
45+ leftMargin: units.gu(2)
45 height: units.gu(6)
47 height: units.gu(6)
46 width: units.gu(6)
48 width: units.gu(6)
47 image: Image {
49 image: Image {
@@ -52,10 +54,12 @@ Item {
54 id: __iconImage
56 id: __iconImage
55− anchors.top: parent.top
58+ top: parent.top
56− anchors.topMargin: units.gu(2)
59+ topMargin: units.gu(2)
57− anchors.left: __avatarImageContainer.right
60+ left: __avatarImageContainer.right
58− anchors.leftMargin: units.gu(1)
61+ leftMargin: units.gu(1)
59 height: units.gu(1.5)
63 height: units.gu(1.5)
60 width: units.gu(2)
64 width: units.gu(2)
61 horizontalAlignment: Image.AlignHCenter
65 horizontalAlignment: Image.AlignHCenter
@@ -65,11 +69,13 @@ Item {
67 id: __titleText
71 id: __titleText
68− anchors.baseline: __iconImage.bottom
73+ baseline: __iconImage.bottom
69− anchors.left: __iconImage.right
74+ left: __iconImage.right
70− anchors.leftMargin: units.gu(1)
75+ leftMargin: units.gu(1)
71− anchors.right: __appIcon.left
76+ right: __appIcon.left
72− anchors.rightMargin: units.gu(2)
77+ rightMargin: units.gu(2)
73 elide: Text.ElideRight
79 elide: Text.ElideRight
74 color: "#e8e1d0"
80 color: "#e8e1d0"
75 font.weight: Font.DemiBold
81 font.weight: Font.DemiBold
@@ -78,10 +84,12 @@ Item {
80 id: __subtitleText
86 id: __subtitleText
81− anchors.baseline: __titleText.baseline
88+ baseline: __titleText.baseline
82− anchors.baselineOffset: units.gu(2.5)
89+ baselineOffset: units.gu(2.5)
83− anchors.left: __titleText.left
90+ left: __titleText.left
84− anchors.right: __titleText.right
91+ right: __titleText.right
85 elide: Text.ElideRight
93 elide: Text.ElideRight
86 color: "#8f8f88"
94 color: "#8f8f88"
87 fontSize: "small"
95 fontSize: "small"
@@ -89,11 +97,13 @@ Item {
91 id: __bodyText
99 id: __bodyText
92− anchors.baseline: __subtitleText.baseline
101+ baseline: __subtitleText.baseline
93− anchors.baselineOffset: units.gu(2.5)
102+ baselineOffset: units.gu(2.5)
94− anchors.left: __titleText.left
103+ left: __titleText.left
95− anchors.right: parent.right
104+ right: parent.right
96− anchors.rightMargin: units.gu(2)
105+ rightMargin: units.gu(2)
97 maximumLineCount: 2
107 maximumLineCount: 2
98 wrapMode: Text.WordWrap
108 wrapMode: Text.WordWrap
99 elide: Text.ElideRight
109 elide: Text.ElideRight
@@ -105,20 +115,24 @@ Item {
105 id: __appIcon
115 id: __appIcon
106 width: units.gu(7)
116 width: units.gu(7)
107 height: units.gu(7)
117 height: units.gu(7)
108− anchors.top: parent.top
119+ top: parent.top
109− anchors.right: parent.right
120+ right: parent.right
110 opacity: 0.0
122 opacity: 0.0
111 enabled: __heroMessageHeader.state === "expanded"
123 enabled: __heroMessageHeader.state === "expanded"
114 id: __appIconImage
126 id: __appIconImage
115 height: width
127 height: width
116− anchors.left: parent.left
129+ left: parent.left
117− anchors.leftMargin: units.gu(2)
130+ leftMargin: units.gu(2)
118− anchors.right: parent.right
131+ right: parent.right
119− anchors.rightMargin: units.gu(2)
132+ rightMargin: units.gu(2)
120− anchors.topMargin: units.gu(1)
133+ topMargin: units.gu(1)
121− anchors.verticalCenter: parent.verticalCenter
134+ verticalCenter: parent.verticalCenter
122 fillMode: Image.PreserveAspectFit
136 fillMode: Image.PreserveAspectFit