Fixed display issue for process modal dialog
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2979511
This commit is contained in:
parent
26ae5bf924
commit
a70712ab63
|
@ -63,6 +63,7 @@ public class ProcessModalDialog extends Window implements EventListener
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -7109707014309321369L;
|
private static final long serialVersionUID = -7109707014309321369L;
|
||||||
private boolean m_autoStart;
|
private boolean m_autoStart;
|
||||||
|
private VerticalBox dialogBody;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param aProcess
|
* @param aProcess
|
||||||
|
@ -127,14 +128,14 @@ public class ProcessModalDialog extends Window implements EventListener
|
||||||
|
|
||||||
private void initComponents() {
|
private void initComponents() {
|
||||||
this.setBorder("normal");
|
this.setBorder("normal");
|
||||||
VerticalBox vbox = new VerticalBox();
|
dialogBody = new VerticalBox();
|
||||||
Div div = new Div();
|
Div div = new Div();
|
||||||
message = new Html();
|
message = new Html();
|
||||||
div.appendChild(message);
|
div.appendChild(message);
|
||||||
div.setStyle("max-height: 150pt; overflow: auto;");
|
div.setStyle("max-height: 150pt; overflow: auto;");
|
||||||
vbox.appendChild(div);
|
dialogBody.appendChild(div);
|
||||||
centerPanel = new Panel();
|
centerPanel = new Panel();
|
||||||
vbox.appendChild(centerPanel);
|
dialogBody.appendChild(centerPanel);
|
||||||
div = new Div();
|
div = new Div();
|
||||||
div.setAlign("right");
|
div.setAlign("right");
|
||||||
Hbox hbox = new Hbox();
|
Hbox hbox = new Hbox();
|
||||||
|
@ -151,8 +152,8 @@ public class ProcessModalDialog extends Window implements EventListener
|
||||||
|
|
||||||
hbox.appendChild(btn);
|
hbox.appendChild(btn);
|
||||||
div.appendChild(hbox);
|
div.appendChild(hbox);
|
||||||
vbox.appendChild(div);
|
dialogBody.appendChild(div);
|
||||||
this.appendChild(vbox);
|
this.appendChild(dialogBody);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -312,9 +313,12 @@ public class ProcessModalDialog extends Window implements EventListener
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showBusyDialog() {
|
private void showBusyDialog() {
|
||||||
|
this.setBorder("none");
|
||||||
|
this.setTitle(null);
|
||||||
|
dialogBody.setVisible(false);
|
||||||
|
|
||||||
progressWindow = new BusyDialog();
|
progressWindow = new BusyDialog();
|
||||||
progressWindow.setPage(this.getPage());
|
this.appendChild(progressWindow);
|
||||||
progressWindow.doHighlighted();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue