问题
I do not even know how to ask this question. I have the following table:
You can see how the QTableWidget is selected, but the actual table is smaller. How can I make the table to be the same size of the QTableWidget container?
I am using QT-Designer.
Thanks!
回答1:
from Qt Designer there are
horizontalHeaderStretchLastSection
and
verticalHeaderStretchLastSection
properties on QTableWidget.
来源:https://stackoverflow.com/questions/13689184/how-to-make-the-actual-table-adjust-its-size-to-the-qtablewidget-container