changeset 8539:688a5f6a294d 8u40-b17

[SAMPLE] Spinner sample in Ensemble app very blurry on Windows.
author jgiles
date Mon, 01 Dec 2014 11:02:29 +1300
parents fbe31e750923
children 139352499d36 8a08c134965c 38000e2f1db4
files apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/spinner/SpinnerApp.java
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/spinner/SpinnerApp.java	Sat Nov 29 16:02:58 2014 -0800
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/controls/spinner/SpinnerApp.java	Mon Dec 01 11:02:29 2014 +1300
@@ -40,6 +40,7 @@
 import javafx.scene.control.Spinner;
 import javafx.scene.control.SpinnerValueFactory;
 import javafx.scene.layout.HBox;
+import javafx.scene.layout.VBox;
 import javafx.stage.Stage;
 
 import java.util.Arrays;
@@ -123,8 +124,6 @@
         doubleBlock.setLayoutY(100);
         stringBlock.setLayoutY(200);
 
-        Group group = new Group();
-        group.getChildren().addAll(intBlock, doubleBlock, stringBlock);
-        return group;
+        return new VBox(25, intBlock, doubleBlock, stringBlock);
     }
 }