Hello,
I have a delegate for ListView with RowLayout inside:
RowLayout {
anchors.fill: parent
spacing: 20
width: parent.width
ColumnLayout {
id: col
anchors.left: parent.left
spacing: 5
Text {
text: type === 0 ? qsTr( "<b>Place: </b>" ) +
model[ "PlaceRole" ] :
qsTr( "<b>Code: </b>" ) + model[ "CodeRole" ]
}
Text {
text: qsTr( "<b>Amount: </b>" ) + model[
"AmountRole" ]
}
}
Text {
text: model[ "DescRole" ]
wrapMode: Text.WordWrap
}
}
All is fine with except that the last Text item doesn't wrap text. How
can I workaround it? Thanks.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest