• 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: Modifying row rect indent in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying row rect indent in NSOutlineView


  • Subject: Re: Modifying row rect indent in NSOutlineView
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 30 Jan 2015 05:04:31 +0000

On Jan 29, 2015, at 20:45 , Andrew White <email@hidden> wrote:
>
> I tried subclassing NSOutlineView and catching frameOutlineOfCellAtRow, adding to theRect.origin.x and subtracting from theRect.size.width.  This didn't seem to make a difference.  I have verified that the overridden function is being called and theRect modified, but the rendered output doesn't vary.

Do you mean ‘frameOfOutlineCellAtRow’? That’s the function for the other thing you’re asking for — it moves the disclosure triangle.

I’m not sure what "the rounded rect surrounding each row” refers to? I don’t see any rounded rects in 10.10 except while dragging “onto”. Is that what you mean?

> (Also, is there a way to customise the rendered indent level on a per-row basis, rather than always indentationPerLevel ? )

‘frameOfOutlineCellAtRow’ :)



_______________________________________________

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: Modifying row rect indent in NSOutlineView
      • From: Andrew White <email@hidden>
References: 
 >Modifying row rect indent in NSOutlineView (From: Andrew White <email@hidden>)

  • Prev by Date: Re: Subclassing NSControl and inheritance of target, action properties
  • Next by Date: Re: Subclassing NSControl and inheritance of target, action properties
  • Previous by thread: Modifying row rect indent in NSOutlineView
  • Next by thread: Re: Modifying row rect indent in NSOutlineView
  • Index(es):
    • Date
    • Thread