diff options
author | dynaflash <[email protected]> | 2009-03-05 21:02:58 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-03-05 21:02:58 +0000 |
commit | 1c3b73c478a542c749063599b42ec923bc39176e (patch) | |
tree | c3871973deb1c791624817920554ba48a19fe510 /macosx | |
parent | bd8362c95bd788c44040655afb4da4e8c60ba9c2 (diff) |
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
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/English.lproj/PictureSettings.xib | 1 | ||||
-rw-r--r-- | macosx/PictureController.mm | 3 |
2 files changed, 3 insertions, 1 deletions
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 @@ <int key="NSvFlags">12</int> <string key="NSFrame">{{15, 40}, {283, 373}}</string> <reference key="NSSuperview" ref="49161063"/> - <bool key="NSViewIsLayerTreeHost">YES</bool> <object class="NSArray" key="NSViewContentFilters"> <bool key="EncodedWithXMLCoder">YES</bool> <object class="CIColorMonochrome"> 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]; } |