fixed max line computation

This commit is contained in:
Patrick von Reth 2014-09-23 16:36:28 +02:00
parent 3225fb65fa
commit b8e5a90ae6
1 changed files with 2 additions and 4 deletions

View File

@ -34,8 +34,6 @@ Rectangle {
}
console.debug(width + "x" + height)
console.debug(body.maximumLineCount)
}
NumberAnimation{
@ -84,7 +82,7 @@ Rectangle {
anchors.left: image.right
anchors.leftMargin: 5
wrapMode: Text.WordWrap
maximumLineCount: root.height / font.pixelSize - 3
maximumLineCount: height / font.pixelSize - 1
onLinkActivated: Qt.openUrlExternally(link)
}