observe the events of changes in text area, and yes, it can change size on paste. You can accurately measure the text, by putting the text in a html div, and get the divs width and height. Of course, you'll have to have a width contraint on the div, b/c you'll want to wrap the text in the div. You'll have to compensate for some factors like css and things that could affect html. Done right you can correctly get the pixel width to resize the input box. Hope that helps.
Brandon Donnelson http://gwt-examples.googlecode.com http://code.google.com/p/gwt-examples/source/browse/trunk/DemoTextBoxExpand/src/org/gonevertical/textboxexpand/client/TextBoxExpandWidget.java -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
