box is now resized using CPViewHeightSizable

This commit is contained in:
Antoine Mercadal committed 2010-11-02 13:02:24 +01:00
1 parent f46bbf83a8
commit b9095b2176
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ var HEIGHT_OF_SEGMENTED_CONTROL = 24;
[self addSubview:box];
[self addSubview:tabs];
[box setAutoresizingMask:CPViewWidthSizable];
[box setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
[tabs setAutoresizingMask:CPViewMinXMargin | CPViewMaxXMargin];
}
return self;