Added the return statement to the setSize method for text fields