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"
}
}
}
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"
}
}
}
To copy to clipboard, switch view to plain text mode
I want to wrap the subItem text.
Please advise.
Bookmarks