• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Increasing a cell's height!!! HELP!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Init an NSString
  • Next by Date: Re: Increasing a cell's height!!! HELP!
  • Previous by thread: [resend] Finding Applications for File Type
  • Next by thread: Re: Increasing a cell's height!!! HELP!
  • Index(es):
    • Date
    • Thread