Change input text height and width during the game

Is possible to change input text height and width during the game? For example change the text input height according to screen height.