A number of screens have this standard functionality including Basic Budget Entry/Dashboard which we are using in the below example.
In order to activate the function click the "Autofit Columns" button. The above is the screen view before applying the autofit and the below is the view the application of the autofit.