I'm pleased to announce that now a new TextArea is available in the echopoint library.
This component is based on the Echo TextArea but add the following two enhancements:
- Support for wrap=off
- Resize text area height depending on the text content of the area.
Actually the height of the component is not pixel perfect, but for normal uses it should be OK.
The basic "problem" is, that in echo a setHeight(10, Extent.EM) is translated into pixel heights
and not to "rows" of the text area.
Since echo does the EM->px transformation with a fixed 13.333px per EM, this obviously
can result in somewhat incorrect calculations.
Currently I'm thinking of remplementing the texarea from base, so we could use the
real rows/cols attributes.