From 489f2bcfa0ba93295826b88f2fe6b8d9f549e327 Mon Sep 17 00:00:00 2001 From: saikat Date: Thu, 1 Apr 2010 22:59:05 -0700 Subject: [PATCH] Reverting 1c9763eaa85dc3f4f2ca6218fba553e39443399c - autoresizing the contentview breaks sizetofit --- AppKit/CPBox.j | 1 - 1 file changed, 1 deletion(-) diff --git a/AppKit/CPBox.j b/AppKit/CPBox.j index 07a78c759..05500b550 100644 --- a/AppKit/CPBox.j +++ b/AppKit/CPBox.j @@ -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; }