Did you had your function to the Column Added event?
If yes, what might have happened is that your function is run once for each of the column. The problem is that if there already is 1 extra large column, it will take that “extra large” part off the totalSize variable; giving negative values to other column’s width value.
Imported from legacy forums. Posted by CharlesB (had 3318 views)