diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java index 36ee50297e..eed77aa483 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java @@ -375,7 +375,8 @@ 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.getComponent().getParent().setVisible(runAsJobField.isChecked()); + notificationTypeField.fillHorizontal(); } } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java index f5da8c2809..5b9505e7b1 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java @@ -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); diff --git a/org.adempiere.ui.zk/theme/default/css/fragment/parameter-process.css.dsp b/org.adempiere.ui.zk/theme/default/css/fragment/parameter-process.css.dsp index a68aa43625..54ff92e768 100644 --- a/org.adempiere.ui.zk/theme/default/css/fragment/parameter-process.css.dsp +++ b/org.adempiere.ui.zk/theme/default/css/fragment/parameter-process.css.dsp @@ -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%;