From 379ae2c8b690c98a201c22aaca157bc54456bde5 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 2 Jul 2014 11:11:25 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@98271 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../gcube/portlets/user/td/openwidget/client/TDOpen.java | 8 +++++--- .../td/openwidget/client/TabResourcesSelectionCard.java | 8 ++------ 2 files changed, 7 insertions(+), 9 deletions(-) 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() {