def get_max_width(text_array):
    """Get the maximum width of a bunch of rows of text."""

    width = 0

    # Figure out the maximum width
    for row in text_array:
        if len(row) > width:
            width = len(row)

    return width