Hi,
I know it's written a lot about this on SO and other places but I'm still not able to figure out how to solve this specific problem.
I use SplitLayouPanel in my app and in each of the three child panels (West, North and Center) I add flowPanels like this:
split.addWest(f1, 500);
split.addNorth(f2, 400);
split.add(f2);
Each of the flowpanels contains a FlexTable (header) that is 80px height and 100% width.
Below the header I add a dataGrid that should occupy the rest of the parent panel (West, North or Center).
FlowPanel f1 = new FlowPanel();
FlexTable flex = new FlexTable();
flex.setWidt("100%");
flex.setHeight("80px");
f1.add(flex);
f1.add(dataGrid); //
dataGrid.setSize("100%", "100%");
The problem is that the dataGrid is rendered outside the panel. I appreciate any advice on how to size this correctly.
Regards Jostein
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment