Text that does not fit in is trimmed and dots in the end are added