From dad6c014603b0d7eee39b3317a099214ad0cd307 Mon Sep 17 00:00:00 2001 From: Dirk Fauth Date: Mon, 6 Nov 2023 15:06:02 +0100 Subject: [PATCH] Fixes #13 - FilterNatCombo increases width on select all Remove the resize listener to avoid too many width calculations. Signed-off-by: Dirk Fauth --- .../.settings/.api_filters | 17 ----------------- .../filterrow/combobox/FilterNatCombo.java | 1 - 2 files changed, 18 deletions(-) delete mode 100644 org.eclipse.nebula.widgets.nattable.core/.settings/.api_filters diff --git a/org.eclipse.nebula.widgets.nattable.core/.settings/.api_filters b/org.eclipse.nebula.widgets.nattable.core/.settings/.api_filters deleted file mode 100644 index b0c795551..000000000 --- a/org.eclipse.nebula.widgets.nattable.core/.settings/.api_filters +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/filterrow/combobox/FilterNatCombo.java b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/filterrow/combobox/FilterNatCombo.java index e208fb5f9..2d1549e6a 100644 --- a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/filterrow/combobox/FilterNatCombo.java +++ b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/filterrow/combobox/FilterNatCombo.java @@ -321,7 +321,6 @@ protected void createDropdownControl(int style) { // add a column to be able to resize the item width in the dropdown new TableColumn(this.selectAllItemViewer.getTable(), SWT.NONE); - this.selectAllItemViewer.getTable().addListener(SWT.Resize, event -> calculateColumnWidth()); FormData data = new FormData(); if (this.showDropdownFilter) {