]> git.sesse.net Git - vlc/commitdiff
macosx: advanced prefs: fix width of table view
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Sat, 18 Jan 2014 22:22:25 +0000 (23:22 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Sat, 18 Jan 2014 22:22:25 +0000 (23:22 +0100)
modules/gui/macosx/prefs_widgets.m

index bd800b856c65591742bd368e2e6d5e193fbb1b76..fb8fec473fbcc98b53624dd628ac98d08d6da38a 100644 (file)
@@ -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];