File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
java/com/esri/samples/scene/orbit_the_camera_around_an_object Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public void start(Stage stage) throws IOException {
4040
4141 // set up the stage
4242 stage .setTitle ("Orbit the camera around an object sample" );
43- stage .setWidth (1000 );
43+ stage .setWidth (800 );
4444 stage .setHeight (700 );
4545 stage .setScene (scene );
4646 stage .show ();
Original file line number Diff line number Diff line change 5959 </VBox >
6060
6161 <!-- Camera heading-->
62- <VBox StackPane.alignment=" BOTTOM_CENTER " maxWidth =" 500" maxHeight =" 50" styleClass =" panel-region" spacing =" 6" >
62+ <VBox StackPane.alignment=" BOTTOM_LEFT " maxWidth =" 500" maxHeight =" 50" styleClass =" panel-region" spacing =" 6" >
6363 <StackPane .margin>
6464 <Insets bottom =" 20" left =" 10" />
6565 </StackPane .margin>
6666 <padding >
6767 <Insets top =" 10" left =" 30" right =" 30" bottom =" 10" />
6868 </padding >
6969 <HBox alignment =" TOP_LEFT" maxWidth =" Infinity" >
70- <Label text =" Camera Heading" >
71- <padding >
72- <Insets left =" 10" right =" 130" />
73- </padding >
70+ <Label text =" Camera Heading" maxWidth = " Infinity " HBox.hgrow= " ALWAYS " >
71+ <!-- < padding> -- >
72+ <!-- < Insets left="10" right="130"/> -- >
73+ <!-- < /padding> -- >
7474 </Label >
7575 <CheckBox fx : id =" allowDistanceInteractionCheckBox" text =" Allow camera distance interaction" selected =" true"
76- onAction =" #handleDistanceInteractionCheckBoxToggle" />
76+ onAction =" #handleDistanceInteractionCheckBoxToggle" HBox.hgrow= " ALWAYS " />
7777 </HBox >
7878
7979 <Slider fx : id =" cameraHeadingSlider" min =" -180" max =" 180" majorTickUnit =" 90" showTickMarks =" true"
80- showTickLabels =" true" maxWidth =" Infinity" />
80+ showTickLabels =" true" maxWidth =" Infinity" VBox.vgrow= " ALWAYS " />
8181 <background >
8282 <Background >
8383 <fills >
You can’t perform that action at this time.
0 commit comments