MacOSX/VLC_app: Leave a little room at the bottom of the window when the playlist...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 7 Jan 2008 23:22:18 +0000 (23:22 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 7 Jan 2008 23:22:18 +0000 (23:22 +0000)
extras/MacOSX/VLC_app/Sources/VLCMainWindow.m

index 1b5c62c..d3511d6 100644 (file)
             [[self animator] setFrame:frame display:YES];
         }
         else
-            [[self animator] setContentHeight:[mainSplitView bounds].size.height + navigatorHeight + [mainSplitView dividerThickness]];
+            [[self animator] setContentHeight:[[self contentView] frame].size.height + navigatorHeight ];
         /* Hack, because sliding cause some glitches */
         [navigatorView moveSubviewsToVisible];
     }
     {
         /* Hide the navigator view (playlist view) */
         navigatorHeight = [navigatorView bounds].size.height;
-        [[self animator] setContentHeight:[mainSplitView bounds].origin.y + [mainSplitView bounds].size.height - navigatorHeight];
+        [[self animator] setContentHeight:[[self contentView] frame].size.height - navigatorHeight];
         /* Hack, because sliding cause some glitches */
         [navigatorView moveSubviewsToVisible];
     }