adjustColumnsWidthByContent();
The adjustColumnsWidthByContent method adjusts columns width by their contents.
The example of use is given on the page with description of the MetabaseObjectsListView.addObject method.
See also:
MetabaseObjectsListView