diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanFramePanel.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanFramePanel.java index 98590d3..e6c03a5 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanFramePanel.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/CkanFramePanel.java @@ -64,6 +64,7 @@ public class CkanFramePanel extends FlowPanel{ frame = new Frame(ckanUrlConnector); frame.getElement().setId(GCubeCkanDataCatalog.GCUBE_CKAN_IFRAME); frame.setWidth("100%"); +// frame.setHeight("100%"); // frame.getElement().getStyle().setOverflow(Overflow.HIDDEN); // frame.getElement().setAttribute("scrolling", "no"); frame.getElement().getStyle().setBorderWidth(0, Unit.PX); diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java index 8841e2e..09482b1 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java @@ -257,7 +257,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate { int height = rootHeight - getTopPanelHeight(); if (this.ckanFramePanel.getFrame() != null) { int newH = this.managementPanel != null &&this.managementPanel.getCurrentHeight() > 0? this.managementPanel.getOffsetHeight() + height : height; -// this.ckanFramePanel.getFrame().setHeight(newH + "px"); + this.ckanFramePanel.getFrame().setHeight(newH + "px"); } // workspace.setHeight(height+"px"); }