On Friday, January 18, 2013 2:57:17 PM UTC+1, membersound wrote:
>
> OK so assuming I have a wrapper class for the canvas that is placed in the 
> center element, I can get the size of the center-panel by:
> this.getElement().getParentElement().getClientWidth();
>
> I don't know if this is the proper way, but at least it works.
>
>
> BUT again I could not get the RequiresResize to work.
>

Can you share your code? (the whole widget hierarchy up to the 
RootLayoutPanel)
The Showcase sample uses DockLayoutPanel and it seems to Just Work™ 
(there's an inner DockLayoutPanel nested in the outer DockLayoutPanel, and 
it seems to correctly resize its inner layers)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/61ikWPVE-fAJ.
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