Project

General

Profile

« Previous | Next » 

Revision 8d0ec6cf

Added by Patrick Plitzner over 6 years ago

  • reduced size of text field for textual data description elements

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/detail/TextDataDetailElement.java
1 1
// $Id$
2 2
/**
3 3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy 
4
* European Distributed Institute of Taxonomy
5 5
* http://www.e-taxonomy.eu
6
* 
6
*
7 7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8 8
* See LICENSE.TXT at the top of this package for the full license terms.
9 9
*/
......
25 25
 * @version 1.0
26 26
 */
27 27
public class TextDataDetailElement extends AbstractDetailedDescriptionDetailElement<TextData> {
28
	
28

  
29 29
	private MultilanguageTextElement multilanguageTextElement;
30
	
30

  
31 31
	/**
32 32
	 * <p>Constructor for TextDataDetailElement.</p>
33 33
	 *
......
40 40
			ICdmFormElement formElement, TextData entity, int style) {
41 41
		super(formFactory, formElement, entity, style);
42 42
	}
43
	
43

  
44 44
	/** {@inheritDoc} */
45 45
	@Override
46 46
	protected void createControls(ICdmFormElement formElement, TextData entity,
47 47
			int style) {
48
		multilanguageTextElement = formFactory.createMultiLanguageTextElement(this, null, entity.getMultilanguageText(), 400, SWT.WRAP);
48
		multilanguageTextElement = formFactory.createMultiLanguageTextElement(this, null, entity.getMultilanguageText(), 200, SWT.WRAP);
49 49
	}
50 50

  
51 51
	/** {@inheritDoc} */

Also available in: Unified diff