I am trying to use the GWT 2 new SplitLayoutPanel for the first time
and I am adding 2 HTML widgets (north and center) to it but when I
browse to it, it always shows up empty !!! Here is how I am using it :
public Widget getInternalWidget(){
HTMLPanel mainPanel = new HTMLPanel("<div id='" + divId + "' class='"
+ Consts.textMessagesPanel + "'></div>");
SplitLayoutPanel splitPanel = new SplitLayoutPanel();
splitPanel.addNorth(new HTML("summary text"), 250);
splitPanel.add(new HTML("Details panel"));
splitPanel.setSize("20em", "10em");
mainPanel.add(splitPanel, divId);
DecoratorPanel dp = new DecoratorPanel();
dp.add(this.mainPanel);
return dp;
}
--
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.