Skip to content

Commit

Permalink
fixes PSShadowView resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
steipete committed Mar 4, 2011
1 parent 6dc2f5a commit 8e15777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TableView/PSShadowView.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ @implementation PSShadowView
+ (PSShadowView *)viewWithSubview:(UIView *)view {
PSShadowView *shadowView = [[[[self class] alloc] init] autorelease];
shadowView.topShadow = YES;
shadowView.bounds = view.bounds;
shadowView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
[shadowView addSubview:view];
shadowView.frame = CGRectClearCoords(view.frame);
return shadowView;
}

Expand Down

0 comments on commit 8e15777

Please sign in to comment.