[vlc-commits] macosx: fixed resizing issue, which was in part fixed by the previous commit by accident (close #6203)

Felix Paul Kühne git at videolan.org
Sun Mar 4 17:53:23 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Mar  4 17:51:06 2012 +0100| [32865ddff2f13647bffe32804a0a1b9d257f0d97] | committer: Felix Paul Kühne

macosx: fixed resizing issue, which was in part fixed by the previous commit by accident (close #6203)
(cherry picked from commit f56aba45d9d053e74ff35c1aa877c4326391753a)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=32865ddff2f13647bffe32804a0a1b9d257f0d97
---

 modules/gui/macosx/MainWindow.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index d14dbff..a169dca 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1975,7 +1975,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 - (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)dividerIndex
 {
     if (dividerIndex == 0)
-        return ([self frame].size.width - 300.0);
+        return ([self frame].size.width - 400.0);
     else
         return proposedMax;
 }



More information about the vlc-commits mailing list