FYI, running a DeferredCommand as suggested by Stefan will guarantee everything is rendered. This runs immediately after all pending browser UI work and events are complete.
But yes for your goal you should just use the original panel widgets. I think they may be marked deprecated in UIBinder because there they expect you would just use HTML to accomplish traditional layouts. On May 26, 6:23 am, googelybear <[email protected]> wrote: > 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/threa... > > thanks, > 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 at http://groups.google.com/group/google-web-toolkit?hl=en.
