• 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: need to not shift row in outline view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need to not shift row in outline view


  • Subject: Re: need to not shift row in outline view
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 4 Feb 2008 10:56:36 -0500

> I am using an NSOutlineView and don't want the content shifted for the
> second (and last) level (I am trying to emulate iChat's group
> interface). Is there a function to call or override so that drawing
> occurs in the whole area of the cell? setIndentationPerLevel: gets the
> desired behavior for the last level, but then the top is shifted too
> much to the left. Any ideas?

  Take a look at NSOutlineView's delegate methods ...
-outlineView:isGroupItem: lets you designate an item as ... well ... a
group. I'm not sure what you mean by "second (and last) level" and I
don't use iChat, so ou may have to be more specific there.

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: need to not shift row in outline view
      • From: Mitchell Livingston <email@hidden>
References: 
 >need to not shift row in outline view (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Re: Long filename, short NSTextField...
  • Next by Date: Re: copyCGLContextForPixelFormat
  • Previous by thread: need to not shift row in outline view
  • Next by thread: Re: need to not shift row in outline view
  • Index(es):
    • Date
    • Thread