From b9095b217618436b8bac853a5cdfeb946fca0e17 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Tue, 2 Nov 2010 13:02:24 +0100 Subject: [PATCH] box is now resized using CPViewHeightSizable --- AppKit/CPTabView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPTabView.j b/AppKit/CPTabView.j index 383112a6d..8e7a1f3e4 100644 --- a/AppKit/CPTabView.j +++ b/AppKit/CPTabView.j @@ -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;