From daae890ca56978a9d4eaaa6e66419ddd052fea26 Mon Sep 17 00:00:00 2001 From: Richard Morales Date: Wed, 5 Jun 2013 16:02:47 -0500 Subject: [PATCH] IDEMPIERE-931 ZK components, are not displayed correctly --- .../WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java | 2 +- .../WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java | 3 +-- .../WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java index e06ea7fee6..7448c15d4b 100755 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/acct/WAcctViewer.java @@ -490,7 +490,7 @@ public class WAcctViewer extends Window implements EventListener repostLayout.appendChild(bRePost); repostLayout.appendChild(new Separator()); repostLayout.appendChild(forcePost); - repostLayout.setHeight("24px"); + repostLayout.setVflex("1"); southLeft.appendChild(statusLine); Grid southRight = new Grid(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java index 3df828db77..6d93de0198 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/WDocActionPanel.java @@ -241,7 +241,7 @@ public class WDocActionPanel extends Window implements EventListener, Dia confirmPanel = new ConfirmPanel(true); confirmPanel.addActionListener(Events.ON_CLICK, this); - + confirmPanel.setVflex("true"); } private void init() @@ -249,7 +249,6 @@ public class WDocActionPanel extends Window implements EventListener, Dia setSclass("popup-dialog"); Vlayout vlayout = new Vlayout(); vlayout.setHflex("1"); - vlayout.setVflex("1"); this.appendChild(vlayout); setWidgetAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, "documentAction"); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java index e47db530f8..0ed5651d06 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java @@ -432,7 +432,7 @@ public final class WAccountDialog extends Window cell.setColspan(4); cell.appendChild(f_Description); row.appendChild(cell); - row.setStyle("background-color: transparent;"); + row.setStyle("background-color: transparent; padding: 10px"); m_rows.appendChild(row); // Finish