I have been stuck with this problem for too long and I just can't find a solution.
The problem is I want to render a popup which has a non fixed size and place it half way next to a widget. For this I need to get the panel height, with getOffsetHeight, once it is rendered. I do this after calling the show method. However the problem is that the getOffsetHeight returns 0 the first time the popup is created and therefore the popup is not positioned where I want it to be. I reuse it later on, after hidding it and then the height is returned correctly. The problem is really with the first time it is shown. I tried shoing it and hiding it immediately and the showing it again, but it still didn't solved the problem, which is pretty strange to me. Anyway if anyone has a way of solving this issue, please let me know! Thanks, Thomas -- 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.
