This really isn't the best way to manage a glass panel. First, you are
adding it to the base RootPanel which, as you have discovered, scrolls the
top of the glass panel into sight. Second, you still get the scrollbars and
can scroll away.

The way to overcome this is to remove the scrollbars from the html/body
elements in css, and add a scrolling div to the body, and set all three to
100% in both directions. You then add everything and anything to this div.

When you pop up a glass panel, don't add it to anything, just pop it up at
100%/100% no borders or margin, and it will cover the whole screen including
any scrollbars, disabling the lot.

Have a look at the demo here
http://examples.roughian.com/#GWT/Display/PopupPanel for an example. You'll
have to make the window quite small to get a scrollbar.

Ian

http://examples.roughian.com


2008/10/1 rusty <[EMAIL PROTECTED]>

>
> http://code.google.com/p/google-web-toolkit-incubator/issues/detail?id=152
>
> I've been trying to work around it, but have given up. Has anyone else
> had this issue with the GlassPanel from the gwt incubator?
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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