[Interest] Display nicely truncated text in a QLabel
Etienne Sandré-Chardonnal
etienne.sandre at m4x.org
Fri Jul 12 10:43:57 CEST 2013
Dear all,
When maximumSize() is set on a QLabel, if the text is too long, it
truncates it harshly (the rendered text pixmap is just trimmed). Is there
a way to display the text nicely truncated with "..." or so at the end and
no half-character?
If not, this would really be something to implement in Qt, for instance
with a flag in QLabel.
Thanks,
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130712/131f14c4/attachment.html>
More information about the Interest
mailing list