removed deprecated method string sizeWithFont constraintToSize