PDA

View Full Version : QTextEdit + Text Vertical Center Alignment?



warry
3rd September 2008, 12:32
I set up a qtextedit box with user interaction turned off and I'd like to center the text vertically in the box but nothing I try seems to work. Not setAlignment on the editbox nor setStyle, or setting alignment on a blockformat and applying it to a cursor... Horizontal center works but not Vertical alignment. Could anyone tell me how to set it?

miwarre
21st November 2009, 20:38
I have exactly the same problem!

Any suggestion wold be welcome.

Thanks,

M.