autoresize the cpbrowser test browser.

This commit is contained in:
Ross Boucher committed 2010-03-26 16:41:33 -07:00
1 parent 1c9763eaa8
commit e46d1a793c
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@
[browser setWidth:300 ofColumn:1];
[box setContentView:browser];
[box setBorderType:CPBezelBorder];
[box setAutoresizingMask:CPViewWidthSizable|CPViewHeightSizable];
[box setCenter:[contentView center]];
[contentView addSubview:box];