The AutoSizingTextArea widget is up at http://code.google.com/p/gwt-traction/
I hope you find it useful. I'm happy to accept patches if anyone wants to suggest changes. On Feb 18, 2:15 pm, Andy <pula...@gmail.com> wrote: > I'm refactoring the code into gwt-traction right now, but noticing > that GQuery no longer has this static method: > > public static String curCSS(Element elem, String name, boolean > force) > > I should be close once I find its replacement. > > On Feb 18, 11:44 am, Andy <pula...@gmail.com> wrote: > > > > > We have a good implementation of both an auto-sizing TextArea > > (vertical) and an auto-sizing TextBox (horizontal) that automatically > > adjust to the CSS specified for the box (accommodating different > > fonts, line-height, padding, etc). > > > I've been meaning to share it for a while and will do it this weekend. > > It's currently dependent on GQuery.curCSS to get the computed styles. > > I was hoping to remove that dependency before adding it to our gwt- > > traction library but since we use GQuery in other places, it hasn't > > been a priority for me. I'll try to remove that, but the first version > > may require GQuery. > > > I should be able to have it up by Monday. Hopefully you can wait that > > long. I'll update this thread when it's available. > > > Cheers, > > Andy > > > On Feb 18, 6:38 am, Carlo Alberto Degli Atti <lordk...@gmail.com> > > wrote: > > > > Hi, > > > > I've looked around but I haven't found any solution, so I post it > > > here: > > > > how can I make a TextArea that expands its height depending on the > > > text inside? > > > > Thanks > > > > CA -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.