What are you displaying your preview in?  If you use a PopupPanel or
Dialog, they have a method included for using a glasspanel around the
popup/dialog.  I'm not sure about the incubator GlassPanel, things in
there are experimental and not necessarily brought up to date with new
GWT code.

On Apr 7, 6:00 am, Jochen Schnaidt <[email protected]> wrote:
> Hi everybody,
> I have a question about the GlassPanel from the incubator.  At the
> moment I have a layout this way
>
> …
>   RootLayoutPanel myRootLayoutPanel = RootLayoutPanel.get();
>
> // Initializing the DockLayoutPanel
> DockLayoutPanel myDockLayoutPanel = new DockLayoutPanel(Unit.PX);
>
> public void onModuleLoad() {
>
>   // Adding the DockLayoutPanel to the RootLayoutPanel
>   myRootLayoutPanel.add(myDockLayoutPanel);
>
>   myDockLayoutPanel.addNorth(new HTML("header"), 20);
>   myDockLayoutPanel.addSouth(new HTML("footer"), 20);
> …
>
> In my application I need to implement a preview window. So I thought I
> do it the new stylish way with a GlassPanel. I like to get a
> GlassPanel all over my Window but in the Docs the GlassPanel is only
> added to the RootPanel. Is there a possibility to use a Glass Panel in
> this way with a DockLayoutPanel? Plan is to add a button which closes
> the GlassPanel after the user hits it.
> Thanks for ideas. Greetings

-- 
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