View Full Version : QTextTableCell vertical align
xgoan
10th July 2007, 10:12
Hi.
How can I set the vertical alignment to the QTextTableCell contents?
guilugi
10th July 2007, 10: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, 10: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, 10: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 ;)
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.