PDA

View Full Version : Vertical alingnment of images



travelan
13th September 2006, 22:37
Hi all,

I want an image in a QTextEdit widget to vertically align center (relative to the height of the line that contains the image). I have tried some potential ways, but nothing worked. Can someone help me?

Thanks in advance,

Trav

wysota
15th September 2006, 10:39
Have you tried using the valign attribute?

travelan
15th September 2006, 17:59
Have you tried using the valign attribute?
Yes I did, but Qt just removes the valign attribute from the html code so I guess it isn't supported for images... But it sounds like such a simple thing, so I think it should be possible...