solved... before reattaching the panel I sat the property visible to
"false". What I did not know: invisible panels have a size of 0x0
although the attributes are set differently.


On 16 Apr., 11:06, MeiAestro <[email protected]> wrote:
> Hi,
>
> after reattaching a SimplePanel-extension to the RootPanel
> getOffsetWidth() returns "0". After the first attach it works just
> fine.
>
> In an extension of SimplePanel I simply do a
>
>     RootPanel.get().add(this);
>
> to (re-)attach the panel and a
>
>     removeFromParent();
>
> to detach the Panel.
>
> Browser: Google Chrome; OS: Windows 7; GWT: 2.4
>
> Any ideas?
> 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 [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