It sounds as though you are calling getOffsetHeight before the display
has been fully rendered. A solution is to put your sizing algorithms
inside a DeferredCommand. That way panel A should have been rendered
already, and now it will have its height property set.

On Feb 5, 1:15 pm, aragorn <sagar5...@gmail.com> wrote:
> Imagine I create a containerPanel which contains 2 different panels-
> consider A and B. One of these contained panels, say A, changes its
> dimensions at runtime so I have to reset the other panel B's size
> accordingly.
> Is there any way to get the current height of that panel A.
>
> What is the getOffsetHeight function supposed to return since it
> always returns me a zero value?
--~--~---------~--~----~------------~-------~--~----~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to