Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Using Qt::TextWordBreak in QFontMetrics::size()
lucky_man24 last edited by lucky_man24
Documentation says i can use value Qt::TextWordBreak in size() method. But there is no such a value in headers. Is it a bug? I use 5.4.2 version of Qt.
Thanx in advance!
Probably it is a bug in the documentation. It should be Qt::TextWordWrap.
Hi and welcome to devnet,
Indeed, that's a bug in the documentation like @jsulm wrote. A fix is on its way.