From 1c3b73c478a542c749063599b42ec923bc39176e Mon Sep 17 00:00:00 2001 From: dynaflash Date: Thu, 5 Mar 2009 21:02:58 +0000 Subject: [PATCH] MacGui: Fix wonky tabbed view layout in picture settings at launch. - For whatever the reason NSTabView does not like wantsCoreAnimationLayer set in the xib. So we set it programmatically in awakeFromNib in PictureController. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2227 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/English.lproj/PictureSettings.xib | 1 - macosx/PictureController.mm | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/macosx/English.lproj/PictureSettings.xib b/macosx/English.lproj/PictureSettings.xib index 1154766d9..fe8dcec82 100644 --- a/macosx/English.lproj/PictureSettings.xib +++ b/macosx/English.lproj/PictureSettings.xib @@ -146,7 +146,6 @@ 12 {{15, 40}, {283, 373}} - YES YES diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm index 6809e9e32..702816c8f 100644 --- a/macosx/PictureController.mm +++ b/macosx/PictureController.mm @@ -104,6 +104,9 @@ [[self window] setExcludedFromWindowsMenu:YES]; [self setInitialPictureFilters]; + + /* Setup our layers for core animation */ + [fSizeFilterView setWantsLayer:YES]; } -- 2.40.0