Skip to content

Commit dd05a2d

Browse files
committed
fixed fxml errors
1 parent 471697a commit dd05a2d

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

src/main/resources/library/certificates.fxml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
fx:id="certificatesRoot"
1111
prefWidth="1440" prefHeight="900">
1212

13-
<stylesheets>
14-
<URL value="@/com/escapegame/styles.css" />
15-
</stylesheets>
13+
<stylesheets>
14+
<URL value="@/com/escapegame/styles.css" />
15+
</stylesheets>
1616

1717
<ImageView fitWidth="1440" fitHeight="900" preserveRatio="true" smooth="false">
1818
<image>

src/main/resources/library/home.fxml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
fx:id="homeRoot"
1111
prefWidth="1440" prefHeight="900">
1212

13-
<stylesheets>
14-
<URL value="@/com/escapegame/styles.css" />
15-
</stylesheets>
13+
1614
<ImageView fitWidth="1440" fitHeight="900" preserveRatio="true" smooth="false">
1715
<image>
1816
<Image url="@../images/manor.png" />

src/main/resources/library/login.fxml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
fx:id="loginRoot"
1313
prefWidth="1440" prefHeight="900"
1414
styleClass="login-root">
15-
<stylesheets>
16-
<URL value="@/com/escapegame/styles.css" />
17-
</stylesheets>
15+
1816
<ImageView fx:id="backgroundImage" fitWidth="1440" fitHeight="900"
1917
preserveRatio="true" smooth="false">
2018
<image>

src/main/resources/library/register.fxml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,12 @@
44
<?import javafx.scene.control.*?>
55
<?import javafx.scene.shape.Rectangle?>
66
<?import javafx.geometry.*?>
7-
<stylesheets>
8-
<URL value="@styles.css" />
9-
</stylesheets>
107

118
<StackPane xmlns:fx="http://javafx.com/fxml/1"
129
fx:controller="com.escapegame.RegisterController"
1310
fx:id="registerRoot"
1411
prefWidth="1440" prefHeight="900">
1512

16-
<stylesheets>
17-
<URL value="@/com/escapegame/styles.css" />
18-
</stylesheets>
1913
<ImageView fx:id="backgroundImage" fitWidth="1440" fitHeight="900"
2014
preserveRatio="true" smooth="false">
2115
<image>

0 commit comments

Comments
 (0)