Qt 6.12 LTS is out! See what's new in the release
blog
elidedlabel example problem: QTextLine line = textLayout.createLine(); only success when the QString include space..
General and Desktop
1
Posts
1
Posters
452
Views
1
Watching
-
elidedlabel example problem: QTextLine line = textLayout.createLine(); only success when the QString include space..
i now have a long string without any space, but i want to show it in 2 lines, and if still not enought, then elideRight.
but when i tried the method in this example,
QTextLine line = textLayout.createLine();
will failed when there is no white space in the long string.....
how can i fix it?