Commit 34a4d76
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 f0afb7f commit 34a4d76
File tree
1 file changed
+7
-5
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
| 328 | + | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
| |||
0 commit comments