@@ -27,36 +27,33 @@ Item {
28 height: units.gu(5)
28 height: units.gu(5)
30− RowLayout {
30+ Label {
31− spacing: units.gu(.5)
31+ id: label
33 left: parent.left
34 left: parent.left
35− verticalCenter: parent.verticalCenter
36− margins: units.gu(1)
35+ leftMargin: units.gu(1)
37− }
36+ baseline: icon.bottom
42− font.family: "Ubuntu"
44− elide: Text.ElideRight
46− textFormat: Text.PlainText
47− width: Math.min(parent.width - units.gu(4), implicitWidth)
50− Icon {
39+ font.family: "Ubuntu"
51− id: icon
40+ fontSize: "medium"
52− visible: name != ""
41+ elide: Text.ElideRight
53− height: units.gu(1.25)
42+ maximumLineCount: 1
54− width: height
43+ textFormat: Text.PlainText
55− color: label.color
44+ width: Math.min(parent.width - units.gu(4), implicitWidth)
59− Layout.fillWidth: true
48+ id: icon
50+ height: units.gu(1.25)
55+ leftMargin: units.gu(0.5)
56+ verticalCenter: parent.verticalCenter