-
- tableViewer = new TableViewer(composite, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI);
- GridDataFactory.fillDefaults().grab(true, true).applyTo(tableViewer.getControl());
+
+ Composite tableComposite = new Composite(composite, SWT.NONE);
+ TableColumnLayout tcl = new TableColumnLayout();
+ tableComposite.setLayout(tcl);
+ GridDataFactory.fillDefaults().grab(true, true).applyTo(tableComposite);
+
+ tableViewer = new TableViewer(tableComposite, SWT.BORDER | SWT.FULL_SELECTION | SWT.MULTI);