diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java index 95ac9db5e8..cc6a22d533 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkJRViewer.java @@ -146,7 +146,8 @@ public class ZkJRViewer extends Window implements EventListener, ITabOnCl North north = new North(); layout.appendChild(north); north.appendChild(toolbar); - + north.setVflex("min"); + Center center = new Center(); layout.appendChild(center); iframe = new Iframe(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java index 7604a1f989..92093455dc 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java @@ -359,6 +359,7 @@ public class ZkReportViewer extends Window implements EventListener, ITab North north = new North(); layout.appendChild(north); north.appendChild(toolBar); + north.setVflex("min"); Center center = new Center(); layout.appendChild(center);