IDEMPIERE-3518 Improvement For Mobile Compatibility. Process Dialog: fix notification type field and range field.

This commit is contained in:
Heng Sin Low 2017-10-20 18:24:09 +08:00
parent b98154670d
commit 09bdb59024
3 changed files with 14 additions and 1 deletions

View File

@ -376,6 +376,7 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI
row.appendChild(notificationTypeField.getComponent());
runAsJobField.setChecked(MSysConfig.getBooleanValue(MSysConfig.BACKGROUND_JOB_BY_DEFAULT, false));
notificationTypeField.getComponent().getParent().setVisible(runAsJobField.isChecked());
notificationTypeField.fillHorizontal();
}
}

View File

@ -328,7 +328,9 @@ public class ProcessParameterPanel extends Panel implements
//
if (voF.isRange) {
Hbox box = new Hbox();
ZKUpdateUtil.setHflex(box, "1");
box.appendChild(editor.getComponent());
editor.fillHorizontal();
//
GridFieldVO voF2 = GridFieldVO.createParameter(voF);
GridField mField2 = new GridField(voF2);

View File

@ -69,6 +69,16 @@ when detect side effect, fix to only apply for parameter window*/
.input-paramenter-layout{
width: 70%;
}
@media screen and (max-width: 700px) {
.input-paramenter-layout{
width: 90%;
}
}
@media screen and (max-width: 500px) {
.input-paramenter-layout{
width: 100%;
}
}
.popup-dialog .input-paramenter-layout{
width: 90%;