@@ -152,14 +152,6 @@ public LinkListInformationControl(Shell parentShell, MultipleHyperlinkHoverManag
152152 fForegroundColor = foregroundColor ;
153153 fBackgroundColor = backgroundColor ;
154154 create ();
155- getShell ().addListener (SWT .ZoomChanged , event -> {
156- final Shell shell = getShell ();
157- shell .getDisplay ().asyncExec (() -> {
158- if (!shell .isDisposed ()) {
159- shell .setSize (computeSizeHint ());
160- }
161- });
162- });
163155 }
164156
165157 @ Override
@@ -225,13 +217,6 @@ public Point computeSizeHint() {
225217 int width ;
226218 if (preferedSize .y - scrollBarHeight <= constraints .y ) {
227219 width = preferedSize .x - scrollBarWidth ;
228- if (Util .isWin32 ()) {
229- /*
230- * compensate rounding issue in windows
231- * +1 for preferedSize and +1 for scrollBarWidth
232- */
233- width += 2 ;
234- }
235220 fTable .getVerticalBar ().setVisible (false );
236221 } else {
237222 width = Math .min (preferedSize .x , constraints .x );
@@ -240,13 +225,6 @@ public Point computeSizeHint() {
240225 int height ;
241226 if (preferedSize .x - scrollBarWidth <= constraints .x ) {
242227 height = preferedSize .y - scrollBarHeight ;
243- if (Util .isWin32 ()) {
244- /*
245- * compensate rounding issue in windows
246- * +1 for preferedSize and +1 for scrollBarHeight
247- */
248- height += 2 ;
249- }
250228 fTable .getHorizontalBar ().setVisible (false );
251229 } else {
252230 height = Math .min (preferedSize .y , constraints .y );
0 commit comments