Ok, another follup to my own question. I have named the root
DockLayoutPanel like so:

<g:DockLayoutPanel unit='EM' ui:field="rootDockLayoutPanel">

I add and remove panels like this.

rootDockLayoutPanel.remove(4);
rootDockLayoutPanel.add(new SomePanel());

Is there a better way to remove the center panel than use constant 4 ??

-- 
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