Re: How to keep the last tree item of NSOutlineView in the most bottom of a Sidebar?
Re: How to keep the last tree item of NSOutlineView in the most bottom of a Sidebar?
- Subject: Re: How to keep the last tree item of NSOutlineView in the most bottom of a Sidebar?
- From: Graham Cox <email@hidden>
- Date: Wed, 26 Aug 2009 09:38:54 +1000
On 26/08/2009, at 1:02 AM, Vadim Shpakovski wrote:
I'd like to have the same behavior of special items as it's done in
the Things application.
I mean Logbook and Trash items on the picture placed under this
link: http://tinyurl.com/lhctza
Please advise any way to implement the same functionality in the
sidebar tree.
I feel that special ‘spacer’ item should be used together with
outlineView:heightOfRowByItem: method.
However, I can't find how to calculate the total height of all
visible items (incl. space between groups).
This might be being done simply by inserting a separate view below the
outline view. That's how I'd do it.
--Graham
_______________________________________________
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