Restrict PopupPanel glass size?

32 views
Skip to first unread message

Richard

unread,
Jan 14, 2013, 6:01:51 AM1/14/13
to google-we...@googlegroups.com
I'm trying out the PopupPanel.setGlassEnabled() functionality. So far, it seems to grey out the whole screen irrespective of what I do.

Is there a way I can get it to hide only one widget, or one part of the screen?  I'd prefer to grey out just the part that is changing, and leave the user with the rest so they can still manipulate the app.  I've tried setting the location, setting the z-order of widgets above that of the glass panel. No dice (yet).

Richard

unread,
Jan 14, 2013, 6:12:52 AM1/14/13
to google-we...@googlegroups.com
Aha, I might have it. Just throw out all the PopupPanel stuff, and add the transparent style directly to the widget that I want greyed out.  If I hit issues I'll just mirror whatever the PopupPanel internal code does.
Reply all
Reply to author
Forward
0 new messages