How do I prevent PyQT TableWidget stretching past the number of rows I have specified

Viewed 15

I've created a very simple table widget that has 1 selectable and 2 non-selectable rows. I want to then restrict the table so that it doesn't stretch to fill all available space. enter image description here

The table should stop after the "Other" entry rather than continuing to fill the space.

0 Answers
Related