Size editable property input based on the amount of text in the input field, fixes #1050