I've tried the delegate approach but just can't get it to work. If I set Stretch mode, then sizeHint doesn't get called, and if I don't set it, it doesn't stretch. I've tried using paint which is getting called, but can't get the column to resize.
I've even tried turning it around and fixing the maximum size of the window so that it doesn't grow larger than the table, but dropped it after a bit for being too fiddly.
At this point I'm leaving things as they are. I see the main Calibre library doesn't worry about the extra space on the right of the table either. For another table, due to the contents of the columns/headers I can set a minimum section size and table re-sizing works great. I may in fact apply that to the first table one more time to see if it works ok.
Thanks for the pointers.
|