From 31e93f69972d8cfa8c3f8b58c3e72b7fe5918a6e Mon Sep 17 00:00:00 2001 From: Solargale Date: Sun, 10 Mar 2019 18:38:24 -0600 Subject: [PATCH] Fixed BorderPane issue in Warehouse --- src/WarehouseGUI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/WarehouseGUI.java b/src/WarehouseGUI.java index d3b59b4..f7196a3 100644 --- a/src/WarehouseGUI.java +++ b/src/WarehouseGUI.java @@ -82,7 +82,7 @@ public class WarehouseGUI { borderPane.setPrefHeight(480.0); borderPane.setPrefWidth(600.0); - BorderPane.setAlignment(title, javafx.geometry.Pos.CENTER); + borderPane.setAlignment(title, javafx.geometry.Pos.CENTER); title.setStrokeType(javafx.scene.shape.StrokeType.OUTSIDE); title.setStrokeWidth(0.0); title.setText("Hong Kong Warehouse"); @@ -91,7 +91,7 @@ public class WarehouseGUI { title.setFont(new Font(24.0)); borderPane.setTop(title); - BorderPane.setAlignment(hBox, javafx.geometry.Pos.CENTER); + borderPane.setAlignment(hBox, javafx.geometry.Pos.CENTER); hBox.setAlignment(javafx.geometry.Pos.CENTER); hBox.setPrefHeight(100.0); hBox.setPrefWidth(200.0); @@ -210,7 +210,7 @@ public class WarehouseGUI { generalWarehouse.setFont(new Font(18.0)); borderPane.setCenter(vBox0); - BorderPane.setAlignment(vBox1, javafx.geometry.Pos.CENTER); + borderPane.setAlignment(vBox1, javafx.geometry.Pos.CENTER); vBox1.setPrefHeight(48.0); vBox1.setPrefWidth(152.0);