def text2wrap_normal(text, max_width, ljust=True, start_pct=0.66, sep='~',
    fill=True):
    """Returns a displayable string from an attribute"""
    length = len(text)
    if length <= max_width:
        if ljust:
            return text.ljust(max_width) if fill else text
        else:
            return text.ljust(max_width) if ljust else text.rjust(max_width)
    else:
        until = int(max_width * start_pct)
        return text[:until] + sep + text[-(max_width - until - 1):]
