|
|
|
@ -1,7 +1,7 @@ |
|
|
|
/***************************************************************************** |
|
|
|
* prefs_widgets.m: Preferences controls |
|
|
|
***************************************************************************** |
|
|
|
* Copyright (C) 2002-2007 the VideoLAN team |
|
|
|
* Copyright (C) 2002-2011 the VideoLAN team |
|
|
|
* $Id$ |
|
|
|
* |
|
|
|
* Authors: Derk-Jan Hartman <hartman at videolan.org> |
|
|
|
@ -2200,7 +2200,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \ |
|
|
|
} |
|
|
|
module_list_free( p_list ); |
|
|
|
|
|
|
|
mainFrame.size.height = 30 + 18 * [o_modulearray count]; |
|
|
|
mainFrame.size.height = 30 + 20 * [o_modulearray count]; |
|
|
|
mainFrame.size.width = mainFrame.size.width - LEFTMARGIN - RIGHTMARGIN; |
|
|
|
mainFrame.origin.x = LEFTMARGIN; |
|
|
|
mainFrame.origin.y = 0; |
|
|
|
@ -2273,7 +2273,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \ |
|
|
|
initWithIdentifier:@"Module"]; |
|
|
|
[o_tableColumn setHeaderCell: o_headerCell]; |
|
|
|
[o_tableColumn setDataCell: o_dataCell]; |
|
|
|
[o_tableColumn setWidth:388 - 17]; |
|
|
|
[o_tableColumn setWidth:s_rc.size.width - 34]; |
|
|
|
[o_tableview addTableColumn: o_tableColumn]; |
|
|
|
[o_tableview registerForDraggedTypes:[NSArray arrayWithObjects: |
|
|
|
@"VLC media player module", nil]]; |
|
|
|
@ -2286,9 +2286,9 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \ |
|
|
|
[o_scrollview setDocumentView: o_tableview]; |
|
|
|
} |
|
|
|
[o_scrollview setAutoresizingMask:NSViewWidthSizable ]; |
|
|
|
[o_scrollview setAutohidesScrollers:YES]; |
|
|
|
[self addSubview: o_scrollview]; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
return self; |
|
|
|
} |
|
|
|
|