adjust size of the text box