Added automatic date label resizing for calendar