diff --git a/AppKit/Cib/_CPCibWindowTemplate.j b/AppKit/Cib/_CPCibWindowTemplate.j index a7e98a402..6ae9be3cf 100644 --- a/AppKit/Cib/_CPCibWindowTemplate.j +++ b/AppKit/Cib/_CPCibWindowTemplate.j @@ -108,12 +108,11 @@ //[result setHidesOnDeactivate:(_wtFlags&0x80000000)?YES:NO]; [theWindow setTitle:_windowTitle]; - // FIXME: we can't autoresize yet... + var contentViewAutoresizesSubviews = [_windowView autoresizesSubviews]; + [_windowView setAutoresizesSubviews:NO]; - [theWindow setContentView:_windowView]; - - [_windowView setAutoresizesSubviews:YES]; + [_windowView setAutoresizesSubviews:contentViewAutoresizesSubviews]; if ([_viewClass isKindOfClass:[CPToolbar class]]) [theWindow setToolbar:_viewClass];