Skip to content

Commit

Permalink
Fixed: Footer view is shifted offscreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoabits committed Jan 11, 2011
1 parent fb20252 commit 6faa470
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/AQGridView.m
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ - (void) setContentSize: (CGSize) newSize
if ( (_flags.contentSizeFillsBounds == 1) && (newSize.height < self.bounds.size.height) )
newSize.height = self.bounds.size.height;

if (self.gridFooterView)
newSize.height += CGRectGetHeight(self.gridFooterView.bounds);

CGSize oldSize = self.contentSize;
[super setContentSize: newSize];

Expand Down

0 comments on commit 6faa470

Please sign in to comment.