textfield flexibility