Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
What is the Qt equivalent for AutoEllipsis on a QLabel?
bs55 last edited by bs55
I want my label to trim the text and add an ellipsis (…) when the text become to long but I cannot find this setting Qt.
myLabel->setText("Short text"); result: Short text myLabel->setText("Long text with plenty of letters"); result: Long text with ple…
Don't think this option exist. You need to customise it. There is an example in the Qt Examples directory which is on similar line.