What steps will reproduce the problem?
1. new a GDesktopPane and add some larget (full screen size) widgets on it
by addWidget() method.
1. new a DefaultGFrame and show it in modal mode.
2. the OverlayLayer mask the underlying components well at the first time
3. close the DefaultGFrame and new another DefaultGFrame in modal mode.
4. the OverlayLayer shows below the desktop bar.
What is the expected output? What do you see instead?
add two line of code to OverlayLayer may solve the proble:
public void show(String theme, int deep) {
setStyleName("gwm-" + theme + "-ActionOverlay");
RootPanel.get().add(this);
DOM.setIntStyleAttribute(getElement(), "zIndex", DefaultGFrame
.getLayerOfTheTopWindow()
+ deep);
// Added by kelvin
DOM.setStyleAttribute(getElement(), "position", "absolute");
DOM.setStyleAttribute(getElement(), "top", "0px");
// Added by kelvin
setVisible(true);
}
What version of the product are you using? On what operating system?
GWT 0.6.6
Please provide any additional information below.
Original issue reported on code.google.com by kelvin...@gmail.com on 8 Jun 2007 at 6:43
Original issue reported on code.google.com by
kelvin...@gmail.com
on 8 Jun 2007 at 6:43