Hello All,
I am using GWT 2.4 for my application.In this application for one page I 
have used SplitLayoutPanel.In this SplitLayoutPanel on west side I added a 
panel and at center side I added a panel.

Now at initial center panel having the size 100%.In other word west panel 
has 0 width.Now at some condition I want to re size it to 40%.So at this 
time center panel will have 60% width.

For this I tried below code.

getsplitPanel().remove(getLeftPanel());
getsplitPanel().addWest(getMenuPanel(), 300);

In this I removed the west panel and added it again with new width.

 Caused by: java.lang.AssertionError: No widget may be added after the 
CENTER widget

Now I searched for this error and got solution.It is to use layout Panel 
instead of Split Layout Panel.
But it doesn't have split and ant dragging facility. 

So I am not getting how to re size west part on some condition. 

-- 
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/-/9zbvsC1z7p4J.
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