Hi,
Label {
id: test
width: 100
height: 30
Text{
color: 'red'
//anchors adjustment
text: qsTr("sometext") //if sometext has 256 characters, lengthy text appears in adjacent controls.
}
}
How to truncate the test as per label width? I have width in pixels. Want to control text. any idea.
Thanks.
↧








