What about
Qt Code:
toolButton->setText("this is my first button \n and in the second line there ist more text \n hey and in the third also!!!");To copy to clipboard, switch view to plain text mode
hi Lykurg,
I want to auto line.
For that you have to subclass and do the drawing yourself using QTextDocument with a preferred width. See the class QwwRichTextButton from wwWidgets for inspiration.
Bookmarks