Automatic resizing of input fields.