Skip to content

Commit

Permalink
Merge pull request AlanQuatermain#95 from rbruels/master
Browse files Browse the repository at this point in the history
Fix content sizing bug for horizontal grid views
  • Loading branch information
Evadne Wu committed Jul 21, 2012
2 parents e8f9358 + 294aa55 commit b3270c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/AQGridView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit b3270c6

Please sign in to comment.