Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

TableView Set Column-Row Width-Height ( Qt Designer )



  • Hi dear QT Forum ,
    I am newbie in QT platform and this forum as well.
    I want to ask how can I arrange the Column's width and Row's height in QT Designer software.
    I will attach a screenshot what will i want exactly.
    Thanks for your attention and helps.
    Screenshot 2022-01-10 at 15.11.14.png



  • I'm not sure what you're hoping to do in Designer, but if you're trying to auto-size the cells, that's not a Designer function. You'll want to access the QHeaderView of the model you're using to populate the table, using the setStretchLastSection() call.


Log in to reply