Increasing a cell's height!!! HELP!
Increasing a cell's height!!! HELP!
- Subject: Increasing a cell's height!!! HELP!
- From: "Jean-Olivier Lanctôt-D." <email@hidden>
- Date: Fri, 20 Dec 2002 22:31:21 -0500
Hello, list!
I'm coding an app where I use a NSBrowser... it has 3 columns and in
the last one, I want to display a cell with multiple lines of text. I
check all the doc and I could not find a method that can modify a
cell's size...
this is my code
[cell setLeaf:YES];
[cell setWraps:YES];
[cell setSelectable:YES];
[cell setAlignment:NSJustifiedTextAlignment];
[cell setType:NSTextCellType];
[cell setScrollable:YES];
[cell setStringValue:@"Hello Testing.\nHello Testing.Hello
Testing.Hello Testing.Hello Testing.Hello Testing.Hello Testing.Hello
Testing.Hello Testing.Hello Testing.Hello Testing.Hello Testing.Hello
Testing.Hello Testing.Hello Testing.Hello Testing.Hello Testing.Hello
Testing.Hello Testing.Hello Testing.Hello Testing.Hello Testing."];
I've tried pretty much everything I could find in the doc and nothing
works. I know I can do it because I have an app that does it.
Thanks for any help guys (girls?) ^_^
-- Jean-Olivier
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.