Skip to content
Snippets Groups Projects
Commit 6a185210 authored by buczekp's avatar buczekp
Browse files

minor: widened vocabulary edition dialog with its labels and fields

SVN: 11535
parent 365a1fb9
No related branches found
No related tags found
No related merge requests found
...@@ -206,9 +206,17 @@ public class VocabularyGrid extends AbstractSimpleBrowserGrid<Vocabulary> ...@@ -206,9 +206,17 @@ public class VocabularyGrid extends AbstractSimpleBrowserGrid<Vocabulary>
private final TextField<String> urlTemplateField; private final TextField<String> urlTemplateField;
private final static int LABEL_WIDTH = 100;
private final static int FIELD_WIDTH = 350;
private final CheckBox chosenFromList; private final CheckBox chosenFromList;
{ {
form.setLabelWidth(LABEL_WIDTH);
form.setFieldWidth(FIELD_WIDTH);
setWidth(LABEL_WIDTH + FIELD_WIDTH + 50);
codeField = createMandatoryCodeField(); codeField = createMandatoryCodeField();
codeField.setValue(getOldVocabularyCodeWithoutPrefix()); codeField.setValue(getOldVocabularyCodeWithoutPrefix());
addField(codeField); addField(codeField);
...@@ -226,6 +234,7 @@ public class VocabularyGrid extends AbstractSimpleBrowserGrid<Vocabulary> ...@@ -226,6 +234,7 @@ public class VocabularyGrid extends AbstractSimpleBrowserGrid<Vocabulary>
chosenFromList = createChosenFromListCheckbox(); chosenFromList = createChosenFromListCheckbox();
chosenFromList.setValue(vocabulary.isChosenFromList()); chosenFromList.setValue(vocabulary.isChosenFromList());
addField(chosenFromList); addField(chosenFromList);
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment