1004150 Process modal dialog: no scrollbar when content overflow.

This commit is contained in:
Heng Sin Low 2014-07-14 19:09:45 +08:00
parent 97e5b51a4c
commit d9ae654c16
2 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,7 @@ public class ProcessModalDialog extends Window implements EventListener<Event>,
dialogContent.setHflex("1");
dialogContent.setVflex("1");
dialogContent.setSclass("dialog-content");
dialogContent.setStyle("overflow-y: auto;");
dialogBody.appendChild(dialogContent);
Div div = new Div();
div.setId("message");

View File

@ -731,6 +731,9 @@ public class ProcessParameterPanel extends Panel implements
editor.setMandatory(mField.isMandatory(true));
editor.updateLabelStyle();
}
if (getParent() != null) {
getParent().invalidate();
}
}
/**