Make the Header text cut again
Not sure i like this way but I could not think of a better one
commitc23aae02bd185c5d5f345f3566c98e56719557a8
authorAlbert Astals <albert.astals@canonical.com>
dateThu 8 Aug 2013, 12:59 (13 years ago)
parent4c48c20
Components/ListItems/Header.qml+3−2
@@ -55,13 +55,14 @@ Item {
5555 textFormat: Text.PlainText
5656 style: Text.Raised
5757 styleColor: "black"
58+ width: parent.width - image.width - image.leftMargin - anchors.leftMargin
5859 }
5960
6061 Image {
6162 id: image
63+ readonly property double leftMargin: units.gu(1)
64+ x: label.x + label.contentWidth + leftMargin
6265 anchors {
63− left: label.right
64− leftMargin: units.gu(1)
6566 verticalCenter: parent.verticalCenter
6667 }
6768 }