My goal was to dynamically adjust the height of a LayoutPanel: As the content grows adjust the height of the LayoutPanel accordingly.
regarding the onLoad() method: At the time this is called the size of a widget has not been completely computed (this is what I would have needed) - I assume the rendering time is dependent on a variety of things (browser, machine, os, weather...) and therefore coming up with a proper, universal solution would be difficult. Or is there something that would work in all cases? But as i found out I am on the wrong track here and it seems that I should rather use the "old school" panels as I described here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5f68621da14f034d# thanks, Dennis On May 21, 4:26 pm, Paul Robinson <[email protected]> wrote: > Override Widget.onLoad() > > > > > > Stefan Bachert wrote: > > Hi, > > > I do not see any reason for such an event. > > What do you like to do with it? > > > What you can do is to call a deferred command. Maybe 10ms later to do > > your stuff. > > > And the event "user has seen the rendered widget" still lacks the > > specification ;-) > > But as a workaround you could offer a button which needs to be clicked > > when the user has seen the widget. > > > Stefan Bachert > >http://gwtworld.de > > > On 20 Mai, 16:16, googelybear <[email protected]> wrote: > > >> Hi, > > >> I'd like to ask if it is possible to get notified (by adding some kind > >> of event handler) after a widget has been completely rendered? I > >> couldn't find such an event... > > >> thanks for your help, > > >> Dennis > > >> -- > >> 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 > >> athttp://groups.google.com/group/google-web-toolkit?hl=en. > > -- > 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 > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
