| Summary: | [celleditors] StringMultiComposite : too high | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Nicolas Bros <nicolas.bros> |
| Component: | EMF-Facet | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emft.facet-inbox, gdupe |
| Version: | unspecified | Flags: | gdupe:
indigo+
|
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Nicolas Bros
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. |