how to vertical the text and control the line spacing by QPainter::drawText(rect,text)
I have tried to add ‘\n’ to each character, but I find line spacing is too large, how I can control this line spacing.
painter->drawText (position,“Qt by \n Trolltech”);
thanks
6 replies
You must log in to post a reply. Not a member yet? Register here!



