only changed the window title

feature_23819
Francesco Mangiacrapa 3 years ago
parent 2030798e1c
commit 24eb503821

@ -564,20 +564,6 @@ public class LayerManager {
expandButton.getElement().setId("expand-query");
expandButton.setTitle("Show this view in new Window");
/*expandButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
flowPanel.getElement().getStyle().setProperty("maxHeight", "100%");
int width = Window.getClientWidth() * 75 / 100;
int height = Window.getClientHeight() * 70 / 100;
ModalWindow mw = new ModalWindow("Query view", width, height);
mw.add(flowPanel);
mw.show();
}
});*/
flowPanel.add(expandButton);
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@ -599,7 +585,7 @@ public class LayerManager {
double x = center.getX();
double y = center.getY();
//"with center x: "+x +", y: "+y;
ModalWindow mw = new ModalWindow("Query view", width, height);
ModalWindow mw = new ModalWindow("Query results...", width, height);
mw.add(flowPanel);
mw.show();
}

Loading…
Cancel
Save