This tool checks the "Track in Song" for notes in hidden columns or excess empty columns. The number of visible columns is then adjusted so all notes are shown and excess columns hidden.
Menu Location:
-Pattern Menu : Set Track Width To Active Columns
-Tools Menu : Ledger`s Scripts : Set Track Width To Active Columns
Shortcut:
"Set Track Width To Active Columns"