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)