• 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
Re: NSOutlineView & NSTextView style/formatting questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView & NSTextView style/formatting questions


  • Subject: Re: NSOutlineView & NSTextView style/formatting questions
  • From: Alykhan Jetha <email@hidden>
  • Date: Sat, 13 Oct 2001 15:59:49 -0400

On Friday, October 12, 2001, at 05:37 PM, Dave Fayram wrote:

Hey folks.
I've been playing with NSTableView and NSOutlineView, and I have a critical problem. No matter what I do, they look.. well.. unprofessional. Not just the font, but in general the whole thing looks rather blocky. So I had the following questions:

When I set a table cell for rows to draw in a color, there is a big white line between the cells. This looks rather clunky, how do I remove it? Unchecking draws grid in IB doesn't seem to do it.

[myTableView setIntercellSpacing:NSMakeSize(0,0)];


Is there a defined way to have text and images in a cell? The default, NSTextFieldCell doesn't seem to do what I want.

You have to create your own or use a an NSImageCell as the preceding column


Finally, how can I draw my own column separators, and I think I've seen this on the list before, but I guess I'll ask anyways, how can I set up context-menus for the outline view as a whole?

I haven't done this myself, but I think it's a simple as making your own Menu tree and setting on your tableView (setMenu: I believe).

As far as the column separator -- I'm not sure.


Sorry to waste time with such armaturish questions. Thanks.

Gotta start somewhere :)

Hope this helps!

./aj


References: 
 >NSOutlineView & NSTextView style/formatting questions (From: Dave Fayram <email@hidden>)

  • Prev by Date: Re: Error in learning Cocoa book?
  • Next by Date: USB, interrupt pipes, and Siemens?
  • Previous by thread: Re: NSOutlineView & NSTextView style/formatting questions
  • Next by thread: Re: NSOutlineView & NSTextView style/formatting questions
  • Index(es):
    • Date
    • Thread