Community
Participate
Working Groups
The StringMultiComposite is too high : it is set to 50 pixels high, but a single line is directly visible and editable in the field.
Index: src/org/eclipse/emf/facet/widgets/celleditors/ecore/composite/StringMultiComposite.java =================================================================== --- src/org/eclipse/emf/facet/widgets/celleditors/ecore/composite/StringMultiComposite.java (revision 125) +++ src/org/eclipse/emf/facet/widgets/celleditors/ecore/composite/StringMultiComposite.java (working copy) @@ -35,7 +35,6 @@ /** A cell editor for Strings */ public class StringMultiComposite<T> extends AbstractCellEditorComposite<String> { - private static final int GRID_DATA_HEIGHT = 50; /** the control that is used to edit the contents of the cell */ private final Button button; private Text text = null; @@ -56,11 +55,10 @@ setLayout(gd); this.text = new Text(this, SWT.NONE); - this.text.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); + this.text.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); this.button = new Button(this, SWT.PUSH); this.button.setText("..."); //$NON-NLS-1$ GridData data = new GridData(SWT.FILL, SWT.FILL, false, true); - data.heightHint = StringMultiComposite.GRID_DATA_HEIGHT; this.button.setLayoutData(data); if (originalValue != null) {
Fixed in revision 207 (and tested in NatTable : appearance stays the same).
This bug can be closed.