Skip to content

Commit c33e6ad

Browse files
committed
Adjust UI and update image
1 parent fe9e042 commit c33e6ad

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed
123 KB
Loading

src/main/resources/fxml/orbit_the_camera_around_an_object.fxml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,21 @@
5959
</VBox>
6060

6161
<!--Camera heading-->
62-
<VBox StackPane.alignment="BOTTOM_LEFT" maxWidth="500" maxHeight="50" styleClass="panel-region" spacing="6">
62+
<VBox StackPane.alignment="BOTTOM_CENTER" maxWidth="500" maxHeight="50" styleClass="panel-region" spacing="6">
6363
<StackPane.margin>
6464
<Insets bottom="20" left="10"/>
6565
</StackPane.margin>
6666
<padding>
67-
<Insets topRightBottomLeft="10"/>
67+
<Insets top="10" left="30" right="30" bottom="10"/>
6868
</padding>
69-
<HBox alignment="TOP_CENTER" maxWidth="Infinity">
69+
<HBox alignment="TOP_LEFT" maxWidth="Infinity">
7070
<Label text="Camera Heading">
7171
<padding>
72-
<Insets right="175"/>
72+
<Insets left="10" right="130"/>
7373
</padding>
7474
</Label>
7575
<CheckBox fx:id="allowDistanceInteractionCheckBox" text="Allow camera distance interaction" selected="true"
7676
onAction="#handleDistanceInteractionCheckBoxToggle"/>
77-
78-
7977
</HBox>
8078

8179
<Slider fx:id="cameraHeadingSlider" min="-180" max="180" majorTickUnit="90" showTickMarks="true"
@@ -97,7 +95,7 @@
9795
<VBox StackPane.alignment="CENTER_RIGHT" alignment="CENTER" maxWidth="100" maxHeight="300" styleClass="panel-region"
9896
spacing="6">
9997
<StackPane.margin>
100-
<Insets right="10"/>
98+
<Insets right="10" top="110"/>
10199
</StackPane.margin>
102100
<padding>
103101
<Insets topRightBottomLeft="10"/>

0 commit comments

Comments
 (0)