[vlc-commits] macosx: advanced prefs: fix width of table view

David Fuhrmann git at videolan.org
Sat Jan 18 23:22:44 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Jan 18 23:22:25 2014 +0100| [302ffe2e61704ba514402b7b015e6709540973fd] | committer: David Fuhrmann

macosx: advanced prefs: fix width of table view

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=302ffe2e61704ba514402b7b015e6709540973fd
---

 modules/gui/macosx/prefs_widgets.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index bd800b8..fb8fec4 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -2052,7 +2052,7 @@ else\
 
 
     // First, initialize and draw the table view to get its height
-    NSRect s_rc = NSMakeRect(12, 10, mainFrame.size.width - LEFTMARGIN - RIGHTMARGIN, 50);
+    NSRect s_rc = NSMakeRect(12, 10, mainFrame.size.width - LEFTMARGIN - RIGHTMARGIN - 12, 50);
     // height is automatically increased as needed
     NSTableView *o_tableview;
     o_tableview = [[NSTableView alloc] initWithFrame : s_rc];



More information about the vlc-commits mailing list