mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 06:20:47 +00:00
[GormDocument -init]: set the NSTableView properties in order to use
sizeToFit git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@11279 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f21fe9b252
commit
1103d61f09
1 changed files with 3 additions and 2 deletions
|
@ -1000,14 +1000,15 @@ static NSImage *classesImage = nil;
|
|||
[classesView setDataSource: self];
|
||||
//[classesView setAction: @selector(changeCurrentClass:)];
|
||||
//[classesView setTarget: self];
|
||||
[classesView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable];
|
||||
//[classesView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable];
|
||||
[classesView setAutoresizesAllColumnsToFit: YES];
|
||||
[classesView setAllowsColumnResizing: NO];
|
||||
[classesScrollView setDocumentView: classesView];
|
||||
RELEASE(classesView);
|
||||
|
||||
tableColumn = [[NSTableColumn alloc] initWithIdentifier: @"classes"];
|
||||
[[tableColumn headerCell] setStringValue: @"Classes"];
|
||||
[tableColumn setMinWidth: 260];
|
||||
[tableColumn setMinWidth: 250];
|
||||
[tableColumn setResizable: YES];
|
||||
[tableColumn setEditable: YES];
|
||||
[classesView addTableColumn: tableColumn];
|
||||
|
|
Loading…
Reference in a new issue