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