I am just looking to adjust the listbox width according to the model's item text size in qml. Is it possible, any ideas.
Asked
Active
Viewed 177 times
1 Answers
0
You can use paintedWidth
property of text in Component.onCompleted
method of item and change parent.width
accordingly.

Dmitry Melnikov
- 743
- 4
- 13