it works like a charm. Thanks.

On Feb 24, 4:38 pm, davidroe <[email protected]> wrote:
> perhaps something like this?
>
>         public void onModuleLoad() {
>
>                 // put code here that constructs the widget and inserts it 
> into the
> DOM
>
>                 DeferredCommand.addCommand(new Command() {
>                         public void execute() {
>                                 // put code here that checks the height of 
> the widget
>                         }
>                 });
>
>         }
>
> On Feb 24, 7:33 am, Jim <[email protected]> wrote:
>
>
>
> >  I want to get Widget.getOffsetHeight. In Widget.onload,
> > getOffsetHeight returns 0. I think once document is ready,
> > Widget.getOffsetHeight returns true height. Is there a way to
> > implement onload for html body element?
>
> > Regards,
>
> > Jim

-- 
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.

Reply via email to