Try overloading the onAttach() method of the widget/panel in question which are called as the widget is attached to the DOM, it might be wise to wrap your code that calls the getOffsetWidth() method up in a DeferredCommand. If you're widget is an Image, try adding a LoadListener and wrap the getOffsetWidth method in a DeferredCommand inside the LoadListeners onLoad() method.
//Adam On 10 Dec, 22:46, sssmack <[EMAIL PROTECTED]> wrote: > ...and upon that for example getOffsetWidth() will return the rendered > amount? > > thanks --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---