PDA

View Full Version : QTableWidget setSpan text display problem



sureshbabu
5th May 2008, 15:47
i am using setspan in qtablewidget to merge cells. Text in the merged cell does not appear properly. Cells are merged well. Even text is wrapped properly but only left side of wrapped text appears, right side of wrapped text is not displayed. Sometime, the whole text is not displayed, only some dots are displayed. Sometimes, text displayed correctly.

Iam using setspan in the following way. Since my table is dynamic, i will insert columns at runtime.

aLiEnHeAd
7th May 2008, 10:26
Which Qt version do you use?
I have a similar problem with QTableView since I updated from 4.3.4 to 4.4.0

aLiEnHeAd
8th May 2008, 10:09
There are now two bugs in the bug-tracker (id 209759 and id 210608) That deal with the setSpan() problem in Qt 4.4.0

sureshbabu
8th May 2008, 16:14
Iam using 4.3.2 only. I didn't upgrade to 4.4 yet.