From 6a185210bc984199fa8f2129a6b32cff99b65b80 Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Wed, 24 Jun 2009 12:28:53 +0000
Subject: [PATCH] minor: widened vocabulary edition dialog with its labels and
 fields

SVN: 11535
---
 .../client/application/ui/vocabulary/VocabularyGrid.java | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/vocabulary/VocabularyGrid.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/vocabulary/VocabularyGrid.java
index 4031a54baf9..baf871fc36f 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/vocabulary/VocabularyGrid.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/vocabulary/VocabularyGrid.java
@@ -206,9 +206,17 @@ public class VocabularyGrid extends AbstractSimpleBrowserGrid<Vocabulary>
 
                 private final TextField<String> urlTemplateField;
 
+                private final static int LABEL_WIDTH = 100;
+
+                private final static int FIELD_WIDTH = 350;
+
                 private final CheckBox chosenFromList;
 
                 {
+                    form.setLabelWidth(LABEL_WIDTH);
+                    form.setFieldWidth(FIELD_WIDTH);
+                    setWidth(LABEL_WIDTH + FIELD_WIDTH + 50);
+
                     codeField = createMandatoryCodeField();
                     codeField.setValue(getOldVocabularyCodeWithoutPrefix());
                     addField(codeField);
@@ -226,6 +234,7 @@ public class VocabularyGrid extends AbstractSimpleBrowserGrid<Vocabulary>
                     chosenFromList = createChosenFromListCheckbox();
                     chosenFromList.setValue(vocabulary.isChosenFromList());
                     addField(chosenFromList);
+
                 }
 
                 @Override
-- 
GitLab