Auto resize TableWidget in table record history