[Qt-interest] Force QTextDocument to display vertically centered.

John Clayton johnclayton72 at gmail.com
Mon Dec 21 00:01:27 CET 2009


Hi All

I've got a QTextDocument with some HTML content, that I'd like to  
render so that the text content is vertically centered.  Can anyone  
tell me how this is done?

(my QTextDocument is being rendered inside a QGraphicsItem, via  
QGraphicsTextItem).

Thanks.



More information about the Qt-interest-old mailing list