Saturday, July 5th 2008, 2:05pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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