add workaround for relayouting
tableView->horizontalHeader()->setResizeMode(QHeaderView::Stretch); isn't working