elidedlabel example problem: QTextLine line = textLayout.createLine(); only success when the QString include space..
-
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?