Permalink
Browse files

Merge pull request #95 from rbruels/master

Fix content sizing bug for horizontal grid views
  • Loading branch information...
2 parents e8f9358 + 294aa55 commit b3270c6ca18a69e8ba21ccce90fb7b53f5b1d52b Evadne Wu committed Jul 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/AQGridView.m
View
@@ -522,7 +522,7 @@ - (void) setContentSize: (CGSize) newSize
newSize.height = minimumHeight;
}
- newSize.height = fmax(newSize.height, self.frame.size.height+1);
+ newSize.height = fmax(newSize.height, self.frame.size.height);
CGSize oldSize = self.contentSize;
[super setContentSize: newSize];

0 comments on commit b3270c6

Please sign in to comment.