dt << Optimize Display forces the data table to remeasure all of its columns and zoom to the best-sized window.
dt << Optimize Display;