From 2475700b993d64aef006614cbb8602983a9fa357 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 2 Apr 2013 00:30:53 +0800 Subject: [PATCH] IDEMPIERE-800 Zk: Add API to ease implementation of consistent button style across the whole application. --- .../WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java index ba543636c1..611b0d3fe6 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java @@ -107,7 +107,7 @@ public class ProcessDialog extends Window implements EventListener, IProc * generate serial version ID */ private static final long serialVersionUID = 5545731871518761455L; - private static final String MESSAGE_DIV_STYLE = "max-height: 150pt; overflow: auto"; + private static final String MESSAGE_DIV_STYLE = "max-height: 150pt; overflow: auto; margin: 10px;"; private Div messageDiv; private Center center; private Table logMessageTable; @@ -177,12 +177,12 @@ public class ProcessDialog extends Window implements EventListener, IProc @SuppressWarnings("unused") String label = Msg.getMsg(Env.getCtx(), "Start"); // Invert - Unify OK/Cancel IDEMPIERE-77 - bOK = ButtonFactory.createNamedButton(ConfirmPanel.A_OK); + bOK = ButtonFactory.createNamedButton(ConfirmPanel.A_OK, true, true); bOK.setId("Ok"); bOK.addEventListener(Events.ON_CLICK, this); hbox.appendChild(bOK); - Button btn = ButtonFactory.createNamedButton(ConfirmPanel.A_CANCEL); + Button btn = ButtonFactory.createNamedButton(ConfirmPanel.A_CANCEL, true, true); btn.setId("Cancel"); btn.addEventListener(Events.ON_CLICK, this); hbox.appendChild(btn);