lucianobroussal / gwtwindowmanager

Automatically exported from code.google.com/p/gwtwindowmanager
0 stars 0 forks source link

Enter one-line summary #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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:42

GoogleCodeExporter commented 8 years ago
Thank you kevjn for the issue posting!

Original comment by luciano.broussal@gmail.com on 8 Jun 2007 at 3:14