Skip to content

Commit

Permalink
Merge pull request #337 from mfjkri/revert-truncate-calendar-schedule
Browse files Browse the repository at this point in the history
Revert "Truncate calendar view when schedules are short"
  • Loading branch information
dishenggg authored Nov 11, 2023
2 parents fb47d96 + ce53ea3 commit adb3893
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/main/java/seedu/address/ui/CalendarCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit adb3893

Please sign in to comment.