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

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

View File

@ -328,7 +328,9 @@ public class ProcessParameterPanel extends Panel implements
// //
if (voF.isRange) { if (voF.isRange) {
Hbox box = new Hbox(); Hbox box = new Hbox();
ZKUpdateUtil.setHflex(box, "1");
box.appendChild(editor.getComponent()); box.appendChild(editor.getComponent());
editor.fillHorizontal();
// //
GridFieldVO voF2 = GridFieldVO.createParameter(voF); GridFieldVO voF2 = GridFieldVO.createParameter(voF);
GridField mField2 = new GridField(voF2); 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{ .input-paramenter-layout{
width: 70%; 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{ .popup-dialog .input-paramenter-layout{
width: 90%; width: 90%;