diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java index dc40d634afb..0b06b5950a5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java @@ -1370,7 +1370,7 @@ void setBorderSpace(RECT newBorderwidth) { } void setBounds() { int zoom = DPIUtil.getZoomForAutoscaleProperty(nativeZoom); - Rectangle area = DPIUtil.scaleDown(frame.getClientArea(), zoom); // To Pixels + Rectangle area = DPIUtil.scaleUp(frame.getClientArea(), zoom); // To Pixels setBounds(DPIUtil.scaleDown(borderWidths.left, zoom), DPIUtil.scaleDown(borderWidths.top, zoom), DPIUtil.scaleDown(area.width - borderWidths.left - borderWidths.right, zoom),