Saturday, July 5th 2008, 6:28am UTC+1

You are not logged in.

  • Login
  • Register

1

Saturday, May 10th 2008, 3:44pm

qtablewidget column width

Is their any simple and quick way to do it without subclassing qtablewidget?!
I have a form.ui made on designer but when i resize it an horizontal scrollbar appears and a blank space is created between the last column and the tablewidget frame instead of resizing columns !!
THanks,
  • Go to the top of the page

2

Saturday, May 10th 2008, 4:07pm

I've also tried this:
form.tablewidget->horizontalHeader()->setStretchLastSection(true)

It has obviously stretched the last column, is their anyway to stretch the rest ?!
Please reply it's urgent
  • Go to the top of the page

Rate this thread