Ok. I figured out what the root cause of the dialog box blending with
the parent widget was: If you show the dialog box first before adding
the parent widget to the root panel that's when the blending of the
dialog box with the parent widget (window) happens. The easy fix is to
just add the parent window to the root panel first. Example:

// Working way:

                RootPanel.get().add(_mainPane);
                LoginDialog login = new LoginDialog(_mainPane, _security);

// Bad Blending way:

                LoginDialog login = new LoginDialog(_mainPane, _security);
               RootPanel.get().add(_mainPane);

On Jan 21, 4:50 pm, "[email protected]" <[email protected]>
wrote:
> I have a created a main window that uses vertical and horizontal
> splitters, VerticalSplitPanel and HorizontalSpiltPanel. There's 5
> separate panes in the main view. If I try to open a dialog box,
> DialogBox in the main window the dialog box isn't usable and the app
> freezes. The only way I found to get around this is to show the
> DialogBox first and then not add the main screen to the root panel
> until after the user has finished in the DialogBox. Any ideas how to
> show a DialogBox in a window using splitters?
>
> Thanks,
> Scott Nichols

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