From a11659d340bdd477de488ef825ded8aed1f70a21 Mon Sep 17 00:00:00 2001 From: Shahzaib Ibrahim Date: Mon, 18 Aug 2025 15:53:48 +0200 Subject: [PATCH] Set TREE.INCREMENT value in Points --- .../Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java index e684c1188a6..d91e67746dc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java @@ -5035,7 +5035,7 @@ void setScrollWidth (int width) { } } if (horizontalBar != null) { - horizontalBar.setIncrement (INCREMENT); + horizontalBar.setIncrement (Win32DPIUtils.pointToPixel(INCREMENT, getZoom())); horizontalBar.setPageIncrement (info.nPage); } OS.GetClientRect (hwndParent, rect);