Revision 22c22144
Added by Katja Luther about 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditor.java | ||
---|---|---|
42 | 42 |
import org.eclipse.nebula.widgets.nattable.freeze.FreezeHelper; |
43 | 43 |
import org.eclipse.nebula.widgets.nattable.freeze.FreezeLayer; |
44 | 44 |
import org.eclipse.nebula.widgets.nattable.grid.GridRegion; |
45 |
import org.eclipse.nebula.widgets.nattable.grid.command.ClientAreaResizeCommand; |
|
45 | 46 |
import org.eclipse.nebula.widgets.nattable.grid.data.DefaultColumnHeaderDataProvider; |
46 | 47 |
import org.eclipse.nebula.widgets.nattable.grid.data.DefaultCornerDataProvider; |
47 | 48 |
import org.eclipse.nebula.widgets.nattable.grid.data.DefaultRowHeaderDataProvider; |
... | ... | |
319 | 320 |
GridDataFactory.fillDefaults().grab(true, true).applyTo(natTable); |
320 | 321 |
|
321 | 322 |
this.layout(); |
323 |
natTable.doCommand(new ClientAreaResizeCommand(natTable)); |
|
322 | 324 |
// boolean ok = natTable.doCommand(new ClientAreaResizeCommand(natTable)); |
323 | 325 |
// System.out.println(ok); |
324 | 326 |
} |
Also available in: Unified diff
ref #7854: ClientAreaResize to avoid scrollbars where it is not needed