Open table edit menu > Go to Settings tab > Go to Miscellaneous Properties > click on Auto size columns.