sizeToCells was missing ...

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@7549 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Robert Slover 2000-09-19 15:39:55 +00:00
parent 299c0b49e7
commit 763dccb954
2 changed files with 3 additions and 3 deletions

View file

@ -111,7 +111,7 @@
prototype: buttonCell
numberOfRows: 1
numberOfColumns: 3] autorelease];
[matrix setIntercellSpacing:NSMakeSize(1,1)];
[matrix sizeToCells];
[matrix setSelectionByRect:YES];
[matrix setAutoresizingMask: (NSViewMaxXMargin | NSViewMinYMargin)];
[_c_view addSubview:matrix];
@ -146,7 +146,7 @@
prototype: buttonCell
numberOfRows: 1
numberOfColumns: 4] autorelease];
[matrix setIntercellSpacing:NSMakeSize(1,1)];
[matrix sizeToCells];
[matrix setSelectionByRect:YES];
[matrix setAutoresizingMask: (NSViewMinXMargin | NSViewMinYMargin)];
[_c_view addSubview:matrix];

View file

@ -124,7 +124,7 @@
prototype: buttonCell
numberOfRows: 1
numberOfColumns: 5] autorelease];
[matrix setIntercellSpacing:NSMakeSize(1,1)];
[matrix sizeToCells];
[matrix setSelectionByRect:YES];
[matrix setAutoresizingMask: (NSViewMaxXMargin | NSViewMinYMargin)];
[matrix setTarget:self];