PDA

View Full Version : How to add blank space to a QTableView?



Paladin12
3rd August 2011, 10:54
Dear all,

I have a QTableView populated with items. However, I require to be able to access empty space on this view (with the mouse cursor) to implement a particular custom context menu. The scrollbar fits the contents of the view perfectly and therefore leaves no empty space at the bottom.

How can I force the table view area to be slightly larger than that of the area taken up by the items?

So, I have:

6735

But I want the additional area shown by the blue rectangle:

6734

Kind Regards,

Paladin12