Added single-line edit + view mode to TextEditComponent.
Used automatically if component height <= font height.