Skip to content

Commit

Permalink
Reverting 1c9763e - autoresizing the contentview breaks sizetofit
Browse files Browse the repository at this point in the history
  • Loading branch information
saikat authored and Ross Boucher committed Apr 9, 2010
1 parent 16590e0 commit 489f2bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion AppKit/CPBox.j
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 489f2bc

Please sign in to comment.