Skip to content

Commit 1bad9a2

Browse files
ShahzaibIbrahimakoch-yatta
authored andcommitted
Fix TREE.SORT_WIDTH value in points
1 parent 8ea0ac8 commit 1bad9a2

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ public void pack () {
380380
if (image != null || parent.sortColumn == this) {
381381
Image headerImage = null;
382382
if (parent.sortColumn == this && parent.sortDirection != SWT.NONE) {
383-
headerWidth += Tree.SORT_WIDTH;
383+
headerWidth += Win32DPIUtils.pointToPixel(Tree.SORT_WIDTH, getZoom()) ;
384384
} else {
385385
headerImage = image;
386386
}

0 commit comments

Comments
 (0)