diff --git a/src/main/java/seedu/address/ui/ModuleCard.java b/src/main/java/seedu/address/ui/ModuleCard.java index 8de5e65c77f..5a8091da4aa 100644 --- a/src/main/java/seedu/address/ui/ModuleCard.java +++ b/src/main/java/seedu/address/ui/ModuleCard.java @@ -48,7 +48,7 @@ public ModuleCard(ModuleCode moduleCode) { * to enhance visual appearance. */ public void updateImage() { - Image moduleImage = new Image("images/group4.png"); + Image moduleImage = new Image("images/damith3.png"); circle.setStroke(Color.ROSYBROWN); circle.setFill(new ImagePattern(moduleImage)); circle.setEffect(new DropShadow(+10d, 0d, +2d, Color.ROSYBROWN)); diff --git a/src/main/java/seedu/address/ui/PersonCard.java b/src/main/java/seedu/address/ui/PersonCard.java index 635a4170125..ad7eb6ebdbc 100644 --- a/src/main/java/seedu/address/ui/PersonCard.java +++ b/src/main/java/seedu/address/ui/PersonCard.java @@ -85,7 +85,7 @@ public void updateImage() { String path = "images/" + person.getName().toString() + ".png"; File file = new File(path); if (!file.exists()) { - Image defaultImage = new Image("images/student.png"); + Image defaultImage = new Image("images/damith1.png"); circle.setStroke(Color.ROSYBROWN); circle.setFill(new ImagePattern(defaultImage)); circle.setEffect(new DropShadow(+10d, 0d, +2d, Color.ROSYBROWN)); diff --git a/src/main/java/seedu/address/ui/TutorialClassCard.java b/src/main/java/seedu/address/ui/TutorialClassCard.java index 1e106c80415..e98830542d5 100644 --- a/src/main/java/seedu/address/ui/TutorialClassCard.java +++ b/src/main/java/seedu/address/ui/TutorialClassCard.java @@ -43,7 +43,7 @@ public TutorialClassCard(TutorialClass tutorialClass) { * to the circle for enhanced visual appearance. */ public void updateImage() { - Image moduleImage = new Image("images/class.png"); + Image moduleImage = new Image("images/damith2.png"); circle.setStroke(Color.ROSYBROWN); circle.setFill(new ImagePattern(moduleImage)); circle.setEffect(new DropShadow(+10d, 0d, +2d, Color.ROSYBROWN)); diff --git a/src/main/resources/images/damith1.png b/src/main/resources/images/damith1.png new file mode 100644 index 00000000000..a11d24c1d15 Binary files /dev/null and b/src/main/resources/images/damith1.png differ diff --git a/src/main/resources/images/damith2.png b/src/main/resources/images/damith2.png new file mode 100644 index 00000000000..7860d408cd9 Binary files /dev/null and b/src/main/resources/images/damith2.png differ diff --git a/src/main/resources/images/damith3.png b/src/main/resources/images/damith3.png new file mode 100644 index 00000000000..8705648bdb1 Binary files /dev/null and b/src/main/resources/images/damith3.png differ diff --git a/src/main/resources/view/MainWindow.fxml b/src/main/resources/view/MainWindow.fxml index c5eedf5ca42..0932d5aa6b1 100644 --- a/src/main/resources/view/MainWindow.fxml +++ b/src/main/resources/view/MainWindow.fxml @@ -12,10 +12,10 @@ - + + title="Address App" minWidth="0" minHeight="0" onCloseRequest="#handleExit"> @@ -25,11 +25,11 @@ - + xmlns:fx="http://javafx.com/fxml/1" HBox.hgrow="ALWAYS"> - + @@ -39,41 +39,54 @@
- + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- + prefWidth="200.0" VBox.vgrow="NEVER"/> +