Hi,

I want to make a VerticalPanel inside a ScrollPanel which takes up 100% 
width and height. I can't get this to work:

  VerticalPanel vp = new VerticalPanel();
  vp.setHeight("100%");
  vp.add(new Label("pleeeeease...");
 
  ScrollPanel sp = new ScrollPanel();
  sp.setHeight("100%");
  sp.add(vp);

  RootPanel.get().add(sp);

What am I missing? The width seems to be 100%, but the height keeps 
wrapping.

Thanks

-- 
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/-/HaR-pmmy51YJ.
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.

Reply via email to