While it is possible to make a textarea look and feel like a textbox with some CSS, it will always allow newlines into the input.
It would be nice to have the ability to show a character counter without being forced to also allow newlines.
Solutions could be:
Adding character count to the textbox widget.
or
Ability to disable newlines in a textarea widget.