void set_max_width(int max_width);

Sets the maximum width of the column. If max_width is -1, then the maximum width is unset. Note, the column can actually be wider than max width if it's the last column in a view. In this case, the column expands to fill any extra space.

See also: get_max_width()