Hi.
How can I set the vertical alignment to the QTextTableCell contents?
Hi.
How can I set the vertical alignment to the QTextTableCell contents?
Have a look on setFormat method, and also the QTextCharFormat class..
http://doc.trolltech.com/4.3/qtextta...html#setFormat
http://doc.trolltech.com/4.3/qtextcharformat.html
In QTextCharFormat, you have a method 'setVerticalAlignment'
Yes, I have view it. But it doesn't appear to work.
I think that QTextCharFormat is for apply format to characters only
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
Bookmarks