Fix: changed background to login GUI
This commit is contained in:
@@ -61,7 +61,7 @@ public class LoginFXMLController {
|
|||||||
@FXML
|
@FXML
|
||||||
public void initialize() {
|
public void initialize() {
|
||||||
// Background setup
|
// Background setup
|
||||||
Image img = new Image(getClass().getResourceAsStream("/GUIImages/Background.png"));
|
Image img = new Image(getClass().getResourceAsStream("/GUIImages/BackgroundLogin.png"));
|
||||||
backgroundImage.setImage(img);
|
backgroundImage.setImage(img);
|
||||||
Rectangle2D screenBounds = Screen.getPrimary().getBounds();
|
Rectangle2D screenBounds = Screen.getPrimary().getBounds();
|
||||||
backgroundImage.setFitWidth(screenBounds.getWidth());
|
backgroundImage.setFitWidth(screenBounds.getWidth());
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 3.6 MiB |
Reference in New Issue
Block a user