Added overriding method setTextFieldWidthMax