[SOLVED]How to increase/decrease the column height and width in QTableWidget
-
Hi everyone,
is it possible to set the size of column width or row height in QTablewidget? I tried it in many ways but I am unable to find the solution.
Please help me.
Thank you. -
You can try to use horizontalHeaderDefaultSectionSize and verticalHeaderDefaultSectionSize if you want to have the same size for every column and row. Otherwise the QTableWidgetItem can have a size hint.
-
Thank you very much. I got it.