Hi Jens,
Ok I thought we had to wrap our contents in a ScrollPanel if we wanted
scroll support,
Thanks
On Sunday, August 19, 2012 3:55:43 PM UTC-4, mark wrote:
>
> 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/-/GqzxywNCOq4J.
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.