fixing issue on displaying data panel
This commit is contained in:
parent
b3b6900189
commit
83d8913d24
|
@ -151,17 +151,17 @@ public class GisViewerLayout extends LayoutContainer {
|
|||
southPanel.setBodyStyle(Constants.panelsBodyStyle);
|
||||
southPanel.setScrollMode(Scroll.AUTO);
|
||||
|
||||
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
|
||||
@Override
|
||||
public void execute() {
|
||||
if(openDataPanel)
|
||||
southPanel.expand();
|
||||
else
|
||||
southPanel.collapse();//I'm closing the panel
|
||||
|
||||
}
|
||||
});
|
||||
// Scheduler.get().scheduleDeferred(new ScheduledCommand() {
|
||||
//
|
||||
// @Override
|
||||
// public void execute() {
|
||||
// if(openDataPanel)
|
||||
// southPanel.expand();
|
||||
// else
|
||||
// southPanel.collapse();//I'm closing the panel
|
||||
//
|
||||
// }
|
||||
// });
|
||||
|
||||
centerPanel = new ContentPanel(){
|
||||
protected void onResize(int width, int height) {
|
||||
|
|
Loading…
Reference in New Issue