diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java index b916f6f658..1cbd5b0069 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java @@ -223,18 +223,6 @@ DataStatusListener, IADTabpanel, IdSpace } } - public Component removeDetails() { - Component details = null; - if (detailPane != null) { - if (detailPane.getParent() != null) { - details = detailPane; - detailPane.detach(); - } - detailPane = null; - } - return details; - } - /** * * @param winPanel @@ -1218,7 +1206,13 @@ DataStatusListener, IADTabpanel, IdSpace public void setDetailPaneMode(boolean detailPaneMode) { this.detailPaneMode = detailPaneMode; if (detailPaneMode) { - detailPane = null; + detailPane = null; + if (formContainer instanceof Borderlayout) { + Borderlayout borderLayout = (Borderlayout) formContainer; + if (borderLayout.getSouth() != null) { + borderLayout.getSouth().detach(); + } + } } this.setVflex("true"); listPanel.setDetailPaneMode(detailPaneMode); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/BreadCrumb.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/BreadCrumb.java index 7b61955c72..d7c56e0d35 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/BreadCrumb.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/BreadCrumb.java @@ -209,7 +209,6 @@ public class BreadCrumb extends Div implements EventListener { @Override public void onEvent(Event event) throws Exception { if (linkPopup != null ) { - System.out.println(linkPopup.getPage()); if (linkPopup.getPage() != null && linkPopup.isVisible()) { return; } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java index 32d2b2910f..0b8cb114bf 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java @@ -155,7 +155,6 @@ public class GridView extends Vbox implements EventListener, IdSpace setStyle(HEADER_GRID_STYLE); gridFooter.setStyle(HEADER_GRID_STYLE); - setSpacing("2px"); } protected void createListbox() { @@ -171,13 +170,6 @@ public class GridView extends Vbox implements EventListener, IdSpace this.detailPaneMode = detailPaneMode; pageSize = detailPaneMode ? DEFAULT_DETAIL_PAGE_SIZE : MSysConfig.getIntValue(MSysConfig.ZK_PAGING_SIZE, 20); updatePaging(); - if (detailPaneMode) { - setStyle(""); - gridFooter.setStyle(""); - } else { - setStyle(HEADER_GRID_STYLE); - gridFooter.setStyle(HEADER_GRID_STYLE); - } } public boolean isDetailPaneMode() { @@ -373,18 +365,6 @@ public class GridView extends Vbox implements EventListener, IdSpace this.getChildren().clear(); } - /** - * toggle visibility - * @param bool - */ - public void showGrid(boolean bool) - { - if (bool) - this.setVisible(true); - else - this.setVisible(false); - } - private void setupColumns() { if (init) return;