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 cb394b7111..5cc5c3723f 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 @@ -536,7 +536,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); } } }