fixing issue on displaying data panel

This commit is contained in:
Francesco Mangiacrapa 2020-04-22 12:51:05 +02:00
parent b3b6900189
commit 83d8913d24
1 changed files with 11 additions and 11 deletions

View File

@ -151,17 +151,17 @@ public class GisViewerLayout extends LayoutContainer {
southPanel.setBodyStyle(Constants.panelsBodyStyle); southPanel.setBodyStyle(Constants.panelsBodyStyle);
southPanel.setScrollMode(Scroll.AUTO); southPanel.setScrollMode(Scroll.AUTO);
Scheduler.get().scheduleDeferred(new ScheduledCommand() { // Scheduler.get().scheduleDeferred(new ScheduledCommand() {
//
@Override // @Override
public void execute() { // public void execute() {
if(openDataPanel) // if(openDataPanel)
southPanel.expand(); // southPanel.expand();
else // else
southPanel.collapse();//I'm closing the panel // southPanel.collapse();//I'm closing the panel
//
} // }
}); // });
centerPanel = new ContentPanel(){ centerPanel = new ContentPanel(){
protected void onResize(int width, int height) { protected void onResize(int width, int height) {