[#328] prevent HITextField from resizing infinitely
formatting/cleanup in HITextField