From 01a365f6bef7f2b1931eed300c722d13ad8771bc Mon Sep 17 00:00:00 2001 From: Shahzaib Ibrahim Date: Mon, 18 Aug 2025 15:50:06 +0200 Subject: [PATCH] Fix TREE.SORT_WIDTH value in points --- .../Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java index 970c846ea7a..6c7c4c2d79c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java @@ -380,7 +380,7 @@ public void pack () { if (image != null || parent.sortColumn == this) { Image headerImage = null; if (parent.sortColumn == this && parent.sortDirection != SWT.NONE) { - headerWidth += Tree.SORT_WIDTH; + headerWidth += Win32DPIUtils.pointToPixel(Tree.SORT_WIDTH, getZoom()) ; } else { headerImage = image; }