'Apply cropping of text.
Args:
text (str): The text to crop.
width (int): The width to crop `text` to.'

def _crop(self, text, width):

    if (m_len(text) > width):
        crop_string = self.crop_string
        return (text[:(width - m_len(crop_string))] + crop_string)
    return text
