diff --git a/src/main/java/org/gcube/portlets/user/td/openwidget/client/TDOpen.java b/src/main/java/org/gcube/portlets/user/td/openwidget/client/TDOpen.java index 654e4d8..0bcf7cd 100644 --- a/src/main/java/org/gcube/portlets/user/td/openwidget/client/TDOpen.java +++ b/src/main/java/org/gcube/portlets/user/td/openwidget/client/TDOpen.java @@ -13,7 +13,9 @@ import com.google.web.bindery.event.shared.EventBus; * */ public class TDOpen extends WizardWindow { - + protected static final int WITHWIZARD=700; + protected static final int HEIGHTWIZARD=520; + protected TDOpenSession tdOpenSession; /** @@ -24,8 +26,8 @@ public class TDOpen extends WizardWindow { public TDOpen(String title,EventBus eventBus) { super(title,eventBus); Log.info("TDOpen: "+title); - setWidth(700); - setHeight(520); + setWidth(WITHWIZARD); + setHeight(HEIGHTWIZARD); BUTTONNEXTLABEL="Open"; nextButton.setText(BUTTONNEXTLABEL); diff --git a/src/main/java/org/gcube/portlets/user/td/openwidget/client/TabResourcesSelectionCard.java b/src/main/java/org/gcube/portlets/user/td/openwidget/client/TabResourcesSelectionCard.java index f3d892d..f32b29a 100644 --- a/src/main/java/org/gcube/portlets/user/td/openwidget/client/TabResourcesSelectionCard.java +++ b/src/main/java/org/gcube/portlets/user/td/openwidget/client/TabResourcesSelectionCard.java @@ -27,9 +27,7 @@ import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler; * */ public class TabResourcesSelectionCard extends WizardCard { - protected final String GRIDWIDTH = "688px"; - protected final String GRIDHEIGHT = "430px"; - + protected TabResourcesSelectionCard thisCard; protected TDOpenSession tdOpenSession; protected TabResourcesSelectionPanel tabResourcesSelectionPanel; @@ -43,9 +41,7 @@ public class TabResourcesSelectionCard extends WizardCard { tabResourcesSelectionPanel = new TabResourcesSelectionPanel(thisCard,res); - // tabResourcesSelectionPanel.setResize(false); - // tabResourcesSelectionPanel.setSize(GRIDWIDTH, GRIDHEIGHT); - + tabResourcesSelectionPanel .addSelectionHandler(new SelectionHandler() {