on xenial help sign in
Make the Header text cut again
c23aae0Albert Astals
Components/ListItems/Header.qml+3−2
@@ -55,13 +55,14 @@ Item {
55 textFormat: Text.PlainText
55 textFormat: Text.PlainText
56 style: Text.Raised
56 style: Text.Raised
57 styleColor: "black"
57 styleColor: "black"
58+ width: parent.width - image.width - image.leftMargin - anchors.leftMargin
58 }
59 }
59
60
60 Image {
61 Image {
61 id: image
62 id: image
63+ readonly property double leftMargin: units.gu(1)
64+ x: label.x + label.contentWidth + leftMargin
62 anchors {
65 anchors {
63− left: label.right
64− leftMargin: units.gu(1)
65 verticalCenter: parent.verticalCenter
66 verticalCenter: parent.verticalCenter
66 }
67 }
67 }
68 }