im trying to set a maximun width size for all columns in a qtableview but i can´t find anything in the documentation to make it possible....any ideas?
im trying to set a maximun width size for all columns in a qtableview but i can´t find anything in the documentation to make it possible....any ideas?
column width or row height are controlled by the respective header view, i.e. for columns that would be the horizontal header view, see QTableview::horizontalHeader().
Cheers,
_
thx man i got it all working with ui->tableView->horizontalHeader()->setMaximumSectionSize(int);
Bookmarks