Using Qt::TextWordBreak in QFontMetrics::size()
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.