diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandItem.java index 4b98353244..5f01ec0913 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandItem.java @@ -539,7 +539,8 @@ private static void handleDPIChange(Widget widget, int newZoom, float scalingFac if (item.height != 0 || item.width != 0) { int newWidth = Math.round(item.width * scalingFactor); int newHeight = Math.round(item.height * scalingFactor); - item.setBoundsInPixels(item.x, item.y, newWidth, newHeight, false, true); + item.setBoundsInPixels(item.x, item.y, newWidth, newHeight, true, true); + item.parent.layoutItems(0, true); } } }