Skip to content

Commit

Permalink
fix: fixed placements of images
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheaGjerde committed Mar 10, 2026
1 parent 7802896 commit 83063c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/group5/app/view/loginpage/LoginHeader.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class LoginHeader extends BorderPane {

public LoginHeader(HeaderController controller) {
this.controller = controller;
getStylesheets().add(getClass().getResource("/homepage/header.css").toExternalForm());
getStylesheets().add(getClass().getResource("/header/header.css").toExternalForm());
setId("header");

setCenter(getLogoSection());
Expand All @@ -25,7 +25,7 @@ private StackPane getLogoSection() {
logoSection.setStyle("-fx-cursor: hand;");

ImageView logo = new ImageView(
new Image(getClass().getResource("/homepage/hmh-logo.png").toExternalForm())
new Image(getClass().getResource("/header/images/hmh-logo.png").toExternalForm())
);
logo.setFitHeight(60);
logo.setPreserveRatio(true);
Expand Down

0 comments on commit 83063c9

Please sign in to comment.