--- old/modules/controls/src/main/java/javafx/scene/control/DialogPane.java 2016-03-28 16:16:55.000000000 -0700 +++ new/modules/controls/src/main/java/javafx/scene/control/DialogPane.java 2016-03-28 16:16:55.000000000 -0700 @@ -930,7 +930,7 @@ Math.max(Math.max(headerMinWidth, expandableContentMinWidth), Math.max(contentMinWidth, buttonBarMinWidth)) + snappedRightInset(); - return snapSize(minWidth); + return snapSizeX(minWidth); } /** {@inheritDoc} */ @@ -963,7 +963,7 @@ buttonBarMinHeight + snappedBottomInset(); - return snapSize(minHeight); + return snapSizeY(minHeight); } /** {@inheritDoc} */ @@ -984,7 +984,7 @@ Math.max(Math.max(headerPrefWidth, expandableContentPrefWidth), Math.max(contentPrefWidth, buttonBarPrefWidth)) + snappedRightInset(); - return snapSize(prefWidth); + return snapSizeX(prefWidth); } /** {@inheritDoc} */ @@ -1016,7 +1016,7 @@ buttonBarPrefHeight + snappedBottomInset(); - return snapSize(prefHeight); + return snapSizeY(prefHeight); }