IDEMPIERE-4545 Workflow activities - OK button cannot be reached in mobile (#378)

This commit is contained in:
Carlos Ruiz 2020-11-12 21:55:01 +01:00 committed by GitHub
parent 86823a72e5
commit f3828f9cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
north.setSplittable(true); north.setSplittable(true);
ZKUpdateUtil.setVflex(listbox, "1"); ZKUpdateUtil.setVflex(listbox, "1");
ZKUpdateUtil.setHflex(listbox, "1"); ZKUpdateUtil.setHflex(listbox, "1");
ZKUpdateUtil.setHeight(north, "50%"); ZKUpdateUtil.setHeight(north, "49%");
layout.appendChild(north); layout.appendChild(north);
north.setStyle("background-color: transparent"); north.setStyle("background-color: transparent");
listbox.addEventListener(Events.ON_SELECT, this); listbox.addEventListener(Events.ON_SELECT, this);
@ -270,7 +270,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
Center center = new Center(); Center center = new Center();
center.appendChild(grid); center.appendChild(grid);
layout.appendChild(center); layout.appendChild(center);
center.setStyle("background-color: transparent"); center.setStyle("background-color: transparent; overflow:auto");
ZKUpdateUtil.setVflex(grid, "1"); ZKUpdateUtil.setVflex(grid, "1");
ZKUpdateUtil.setHflex(grid, "1"); ZKUpdateUtil.setHflex(grid, "1");
@ -501,7 +501,7 @@ public class WWFActivity extends ADForm implements EventListener<Event>
fDescription.setText (""); fDescription.setText ("");
fHelp.setText (""); fHelp.setText ("");
fHistory.setContent(HISTORY_DIV_START_TAG + "&nbsp;</div>"); fHistory.setContent(HISTORY_DIV_START_TAG + "&nbsp;</div>");
statusBar.setStatusDB("0/0"); statusBar.setStatusDB("0/" + m_activities.length);
statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "WFNoActivities")); statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "WFNoActivities"));
} }
return m_activity; return m_activity;