def content_cols
      total = 0
      #@chash.each_pair { |i, c|
      #@chash.each_with_index { |c, i|
        #next if c.hidden
      each_column {|c,i|
        w = c.width
        # if you use prepare_format then use w+2 due to separator symbol
        total += w + 1
      }
      return total
    end
def content_cols
      total = 0
      #@chash.each_pair { |i, c|
      #@chash.each_with_index { |c, i|
        #next if c.hidden
      each_column {|c,i|
        w = c.width
        # if you use prepare_format then use w+2 due to separator symbol
        total += w + 1
      }
      return total
    end
calculate pad width based on widths of columns