textarea also doesn't work in chrome v9.0.597.98 On Fri, Feb 18, 2011 at 6:09 PM, Andy <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> > > > 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 [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. > > -- *Jeff Schwartz* http://jefftschwartz.appspot.com/ follow me on twitter: @jefftschwartz -- 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.
