Commit 0a5d55b
committed
[Win32] Fix wrong width and height in Sash with SWT.SMOOTH when dragging
When dragging a Sash with the SWT.SMOOTH, the width and height of the
sash are erroneously scaled up by the current zoom. It is caused by a
recent change which replaced a setBoundsInPixels with a setBounds call
still using the same pixel-based width and height values.
This change adapts the according call to consistently use pixel-based
values passed to the setBoundsInPixels method again.
Fixes #23291 parent 69a577c commit 0a5d55b
File tree
1 file changed
+3
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
| |||
0 commit comments