PDA

View Full Version : text wrapword not working in Layouts



joko
16th November 2015, 18:09
Hi,

Can you please advise how wrapword would work when using Layouts instead of anchors.


RowLayout {
Layout.fillWidth: true

Image {
source: "order.png"
}

Column {
Layout.fillWidth: true

Text {
id: item
Layout.fillWidth: true
text: "Text"
}

Text {
id: subItem
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: "Text info xxxxxxxxx"
}
}
}

I want to wrap the subItem text.

Please advise.