QGraphicsTextItem Single Line
-
Hello,
I try to make a qgraphicstextitem single line with max width

I blocked the return ok no problem, but if I specify the max width width like this :
m_textItem->setTextWidth(width);textItem adapt his height automaticaly :(

I try to use textSize.width() >= rect().width() but It's not really clean because some char are differents width.
Someone has already had this problem ?
