From be2c4538b4bf4f87288650cf21dedbdae3669a3b Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 12 Nov 2014 18:05:45 +0000 Subject: [PATCH] Update description height git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@101603 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/TabularResourceProperties.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java index af66c74..d05c68a 100644 --- a/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java +++ b/src/main/java/org/gcube/portlets/user/td/informationwidget/client/TabularResourceProperties.java @@ -63,7 +63,15 @@ import com.sencha.gxt.widget.core.client.form.FieldSet; import com.sencha.gxt.widget.core.client.form.TextArea; import com.sencha.gxt.widget.core.client.form.TextField; +/** + * + * @author giancarlo + * email: g.panichi@isti.cnr.it + * + */ public class TabularResourceProperties extends FramedPanel { + private static final String DESCRIPTION_FIELD_HEIGHT = "70px"; + // private static final String LISTVIEWWIDTH="250px"; private DateTimeFormat sdf = DateTimeFormat.getFormat("yyyy-MM-dd"); @@ -140,6 +148,7 @@ public class TabularResourceProperties extends FramedPanel { new VerticalLayoutData(1, -1)); descriptionField = new TextArea(); + descriptionField.setHeight(DESCRIPTION_FIELD_HEIGHT); // descriptionField.setReadOnly(true); descriptionField.setValue(""); layoutTabularResource.add(new FieldLabel(descriptionField,