Fix qml layout.

This commit is contained in:
Patrick von Reth 2015-09-11 21:36:01 +02:00
parent 9cbf5f7733
commit e3a479c4f6

View File

@ -73,8 +73,10 @@ Rectangle {
anchors.margins: snoreMargin
anchors.topMargin: snoreMargin / 2
anchors.left: image.right
anchors.right: closeButton.left
textFormat: Text.RichText
font.family: snoreFont
clip: true
}
Text {
@ -88,7 +90,7 @@ Rectangle {
anchors.left: image.right
anchors.margins: snoreMargin
anchors.topMargin: snoreMargin / 2
wrapMode: Text.WordWrap
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
maximumLineCount: height / font.pixelSize - 1
onLinkActivated: Qt.openUrlExternally(link)
textFormat: Text.RichText