Reverting 1c9763eaa8 - autoresizing the contentview breaks sizetofit

This commit is contained in:
saikat authored and Ross Boucher committed 2010-04-09 14:18:20 -07:00
1 parent 16590e0603
commit 489f2bcfa0
1 file changed
-1
-1
View File
@@ -162,7 +162,6 @@ CPGrooveBorder = 3;
[aView setFrame:CGRectInset([self bounds], _contentMargin.width + _borderWidth, _contentMargin.height + _borderWidth)];
[self replaceSubview:_contentView with:aView];
[aView setAutoresizingMask:CPViewWidthSizable|CPViewHeightSizable];
_contentView = aView;
}