Permalink
Browse files

Lower the event height threshold for showing location label on the da…

…y event calendar.
  • Loading branch information...
1 parent 9d72db0 commit 540bb38c02525b9264ef4cb118b6b1654fd93395 @devinross committed Mar 10, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/TapkuLibrary/TKCalendarDayEventView.m
@@ -109,7 +109,7 @@ - (void) layoutSubviews{
CGFloat h = self.frame.size.height;
- if(h < 75){
+ if(h < 45){
self.titleLabel.frame = CGRectInset(self.bounds, 5, 5);
CGFloat y = self.titleLabel.frame.size.height + self.titleLabel.frame.origin.y;
self.locationLabel.frame = CGRectMake(self.titleLabel.frame.origin.x, y, 0, 0);

0 comments on commit 540bb38

Please sign in to comment.