Fixed minor layout problem.
(transplanted from 915a1da671442fc6468125962cc001fa247f64e8)
This commit is contained in:
parent
14bbf75e7e
commit
454626ee38
|
@ -147,7 +147,6 @@ public class ProcessDialog extends Window implements EventListener<Event>, IProc
|
||||||
center.setStyle("border: none");
|
center.setStyle("border: none");
|
||||||
|
|
||||||
Div div = new Div();
|
Div div = new Div();
|
||||||
div.setStyle("text-align: center");
|
|
||||||
Hbox hbox = new Hbox();
|
Hbox hbox = new Hbox();
|
||||||
String label = Msg.getMsg(Env.getCtx(), "Start");
|
String label = Msg.getMsg(Env.getCtx(), "Start");
|
||||||
bOK = new Button(label.replaceAll("&", ""));
|
bOK = new Button(label.replaceAll("&", ""));
|
||||||
|
@ -165,7 +164,7 @@ public class ProcessDialog extends Window implements EventListener<Event>, IProc
|
||||||
btn.setSclass("action-image-text-button");
|
btn.setSclass("action-image-text-button");
|
||||||
hbox.appendChild(btn);
|
hbox.appendChild(btn);
|
||||||
div.appendChild(hbox);
|
div.appendChild(hbox);
|
||||||
div.setStyle("padding: 10px");
|
div.setStyle("padding: 10px; text-align: center; text-align: -webkit-center; text-align: -moz-center; ");
|
||||||
|
|
||||||
South south = new South();
|
South south = new South();
|
||||||
layout.appendChild(south);
|
layout.appendChild(south);
|
||||||
|
|
|
@ -168,7 +168,7 @@ DataStatusListener, IADTabpanel, VetoableChangeListener
|
||||||
|
|
||||||
grid = new Grid();
|
grid = new Grid();
|
||||||
//have problem moving the following out as css class
|
//have problem moving the following out as css class
|
||||||
grid.setWidth("100%");
|
grid.setHflex("1");
|
||||||
grid.setHeight("100%");
|
grid.setHeight("100%");
|
||||||
grid.setVflex(true);
|
grid.setVflex(true);
|
||||||
grid.setStyle("margin:0; padding:0; position: absolute");
|
grid.setStyle("margin:0; padding:0; position: absolute");
|
||||||
|
@ -1042,6 +1042,7 @@ DataStatusListener, IADTabpanel, VetoableChangeListener
|
||||||
{
|
{
|
||||||
activateChild(true, ep);
|
activateChild(true, ep);
|
||||||
}
|
}
|
||||||
|
formComponent.getParent().invalidate();
|
||||||
}
|
}
|
||||||
listPanel.setVisible(!formComponent.isVisible());
|
listPanel.setVisible(!formComponent.isVisible());
|
||||||
if (listPanel.isVisible()) {
|
if (listPanel.isVisible()) {
|
||||||
|
|
Loading…
Reference in New Issue