"..." at the end of textfield

I’m attempting to make a Textfield that is a fixed size and that replaces the overflow text that an ellipse (…). Has anyone found any clever ways to do this?