Auto-scale single-line text fields.

Fixes #23