You can use a QTextDocument
Or, did you know you can just add QLabels too?
You can use a QTextDocument
Or, did you know you can just add QLabels too?
Hi tbscore, thanks for the reply.
As I said in my first post, I'm able to do almost what I want with QTextDocument, but the problem is with the vertical align. I don't want to manually add line feeds before the text so it is displayed at the vertical center of the box for example. I would like the box to be considered a big area instead of lines.
Is there a way to speficy the height of a QTextDocument line so the vertical alignment setting would actually work?
I'll look into QLabels too, thanks for the tip!
Bookmarks