Tuesday, January 22, 2013

New DialogBox underneath the prevous DialogBox!!

According to popuppanel (and so DialogBox) api,
A panel that can "pop up" over other widgets. It overlays the browser's client area (and any previously-created popups).
but I found that the new DialogBox is underneath the origin DialogBox, why?

for the original dialogbox, I set
original.setGlassEnabled(true);
original.setAnimationEnabled(true);
original.center();

the original dialogbox has a button to call the new DialogBox(callee), I set
callee.setModal(false);
callee.setGlassEnabled(true);
callee.setAnimationEnbaled(true);
callee.center();

the result is the new DialogBox show underneath the old DialogBox!!

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yZ3VvaY0LB8J.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate