diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java index 9ca7216c9b..52860f811f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java @@ -465,7 +465,6 @@ public final class LayoutUtils { LayoutUtils.removeSclass("slide", (HtmlBasedComponent) evt.getTarget()); else LayoutUtils.addSclass("slide", (HtmlBasedComponent) evt.getTarget()); - evt.getTarget().invalidate(); }; /** diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/StatusBar.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/StatusBar.java index 9168a07a7a..07132cd017 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/StatusBar.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/StatusBar.java @@ -34,7 +34,7 @@ import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.EventListener; import org.zkoss.zk.ui.event.Events; -import org.zkoss.zk.ui.util.Clients; +import org.zkoss.zk.ui.util.Notification; import org.zkoss.zul.Caption; import org.zkoss.zul.Div; import org.zkoss.zul.Hlayout; @@ -170,7 +170,7 @@ public class StatusBar extends Panel implements EventListener String labelText = buildLabelText(m_statusText); if (error) { - Clients.showNotification(buildNotificationText(m_statusText), "error", findTabpanel(this), "top_left", 3500, true); + Notification.show(buildNotificationText(m_statusText), "error", findTabpanel(this), "top_left", 3500, true); } Label label = new Label(labelText); messageContainer.setSclass(error ? "docstatus-error" : "docstatus-normal"); @@ -287,6 +287,7 @@ public class StatusBar extends Panel implements EventListener private void createPopup() { msgPopupCnt = new Div(); ZKUpdateUtil.setVflex(msgPopupCnt, "1"); + msgPopupCnt.setStyle("flex-basis: auto"); msgPopup = new Window(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java index 75bb31126b..2261f3f8f3 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java @@ -1252,10 +1252,6 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL layout = new Borderlayout(); ZKUpdateUtil.setWidth(layout, "100%"); ZKUpdateUtil.setHeight(layout, "100%"); - if (!isLookup()) - { - layout.setStyle("position: relative"); - } this.appendChild(layout); if (isLookup()) @@ -1269,8 +1265,9 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL North north = new North(); north.setCollapsible(true); north.setSplittable(true); - north.setAutoscroll(true); + north.setAutoscroll(true); LayoutUtils.addSlideSclass(north); + ZKUpdateUtil.setVflex(north, "min"); layout.appendChild(north); renderParameterPane(north); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java index f860871726..9989d45ae1 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java @@ -304,7 +304,6 @@ public abstract class InfoPanel extends Window implements EventListener, setBorder("none"); ZKUpdateUtil.setWidth(this, "100%"); ZKUpdateUtil.setHeight(this, "100%"); - setStyle("position: absolute"); } confirmPanel = new ConfirmPanel(true, true, true, true, true, true); // Elaine 2008/12/16