From ce53ea3c549d6068581af259260f9e0779a98a65 Mon Sep 17 00:00:00 2001 From: mfjkri Date: Sat, 11 Nov 2023 15:10:24 +0800 Subject: [PATCH] Revert truncate calendar view when schedules are short --- src/main/java/seedu/address/ui/CalendarCard.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/java/seedu/address/ui/CalendarCard.java b/src/main/java/seedu/address/ui/CalendarCard.java index cb1f7263857..ab7c4171a05 100644 --- a/src/main/java/seedu/address/ui/CalendarCard.java +++ b/src/main/java/seedu/address/ui/CalendarCard.java @@ -54,12 +54,7 @@ public CalendarCard(Index index, String timeLabel, String status, card.setTranslateX(translateX); this.index.setText(index.getOneBased() + ""); - if (width > 75) { - this.timeLabel.setText(timeLabel); - this.status.setText(status); - } else { - this.timeLabel.setText(""); - this.status.setText(""); - } + this.timeLabel.setText(timeLabel); + this.status.setText(status); } }