QTableView, how to set visible rows
-
I am using QTableView, the table is added to a QVBoxLayout the size is capable of showing more records, but for some reason it is only showing 2 records, how can I adjust this?
Regardless of the stylesheet setting which is set to:
margin:0;padding:0;background-color:#ffff00;I've set the background-color to yellow to make if obvious is the style sheet is applied and it is, the each of the two rows has a lot of padding around to fit into the geometry, where more records could be displayed.
What do I need to do to resolve this?