Enhanced TextArea component available in Echopoint SVN

a.schild's picture

Hello,

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.

André

ScoPi's picture

The support for wrap=off is

The support for wrap=off is great (I've been hoping Tod would drop that into Echo sooner than he has), but I've found EchoPoint to be a bit cumbersome to integrate; it seemed like there were a lot of dependencies, and the integration instructions weren't real clear. I am somewhat right there or was I missing something?

ScoPi's picture

FYI... My first interest in

FYI... My first interest in using EchoPoint would be for a client-side JavaScript application.

a.schild's picture

Yes, there are different needs :)

I myself use it exclusively server side. But I think most components should also work client side only.
There is even a client side test suite (which I now just have updated a bit to work with more components)

André