--- old/modules/graphics/src/main/java/com/sun/javafx/scene/GroupHelper.java 2016-06-03 11:04:12.649423491 -0700 +++ new/modules/graphics/src/main/java/com/sun/javafx/scene/GroupHelper.java 2016-06-03 11:04:12.505423493 -0700 @@ -27,6 +27,7 @@ import com.sun.javafx.sg.prism.NGNode; import com.sun.javafx.util.Utils; +import javafx.geometry.Bounds; import javafx.scene.Group; import javafx.scene.Node; @@ -56,6 +57,12 @@ return super.createPeerImpl(node); } + @Override + protected Bounds computeLayoutBoundsImpl(Node node) { + groupAccessor.doComputeLayoutBounds(node); + return super.computeLayoutBoundsImpl(node); + } + public static void setGroupAccessor(final GroupAccessor newAccessor) { if (groupAccessor != null) { throw new IllegalStateException(); @@ -65,6 +72,7 @@ } public interface GroupAccessor { + Bounds doComputeLayoutBounds(Node node); } }