View Full Version : QTextTableCell vertical align
xgoan
10th July 2007, 09:12
Hi.
How can I set the vertical alignment to the QTextTableCell contents?
guilugi
10th July 2007, 09:24
Have a look on setFormat method, and also the QTextCharFormat class..
http://doc.trolltech.com/4.3/qtexttablecell.html#setFormat
http://doc.trolltech.com/4.3/qtextcharformat.html
In QTextCharFormat, you have a method 'setVerticalAlignment'
xgoan
10th July 2007, 09:40
Yes, I have view it. But it doesn't appear to work.
I think that QTextCharFormat is for apply format to characters only
guilugi
10th July 2007, 09:50
Oh ok, and did you also check QTextTableFormat ?
There are some padding / alignment methods...
I have never really used QTextTable, so I don't have a real sample to do tests ;)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.