From 4f530b9405e76caa582249ba8c7f0d3c08d80bd3 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Sun, 5 Nov 2017 20:48:44 +0800 Subject: [PATCH] IDEMPIERE-3543 Range Process parameters displayed on 2 lines with Firefox --- .../src/org/adempiere/webui/apps/ProcessParameterPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 8ed12df463..382d69bea9 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 @@ -329,6 +329,7 @@ public class ProcessParameterPanel extends Panel implements // if (voF.isRange) { Div box = new Div(); + box.setStyle("display: flex; align-items: center;"); ZKUpdateUtil.setWidth(box, "100%"); box.appendChild(editor.getComponent()); ZKUpdateUtil.setWidth((HtmlBasedComponent) editor.getComponent(), "49%"); @@ -360,7 +361,7 @@ public class ProcessParameterPanel extends Panel implements // m_wEditors2.add(editor2); Space separator = new Space(); - separator.setSpacing("2%"); + separator.setStyle("margin:0; width: 2%;"); m_separators.add(separator); box.appendChild(separator); box.appendChild(editor2.getComponent());