PDA

View Full Version : Qtable header stop extending to end



deepal_de
10th June 2011, 10:52
How can i remove this??
its the header of the table... it stretch to the end... how can i stoop it from where data ends..
without stretching the last header section
6570

ChrisW67
10th June 2011, 11:29
The header of that table doesn't stretch to the right hand end of the space available. What is the problem?

deepal_de
10th June 2011, 12:29
i was thinking of a way to remove the part that i have highlighted in red??
stop the header from extending from "timezone " column.
it should stop at the end of the timezone column..
is there a way??

Santosh Reddy
10th June 2011, 16:04
it is not the header which is extending, it's the view / table widget's background which is extending, the header end's with timestamp column.

You can configure such that the last column takes up all the remaining space in the backgroung. Try this

void setStretchLastSection(true);