Added support to specify string max width in draw_header().