Monday, December 5, 2011

Re: Scroll are not coming while using DockLayoutPanel

Hi,

You have to explicitly add ScrollPanel in your DockLayoutPanel to make the area scrollable.

Alexandre

2011/12/5 saurabh saurabh <saurabh.blspr@gmail.com>
Hi everyone,
            I got the following lines of code here:


DockLayoutPanel doc = new DockLayoutPanel(Unit.PX);
....
 //some code goes here to add widgets to doc
....

RootLayoutPanel.get().add(doc);

Now the size of docklayoutpanel here exeeds client window height but I
am not getting any scroll bars here on browser. I see css property
'overflow: hidden' could be a problem but taking out all 'overflow:
hidden' makes it more ugly.
      I hope there would be a better solution to handle this problem

Thanks in advance

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment