Re: NSOutlineView column with checkbox+image+text
Re: NSOutlineView column with checkbox+image+text
- Subject: Re: NSOutlineView column with checkbox+image+text
- From: Jens Miltner <email@hidden>
- Date: Wed, 6 Feb 2008 14:14:29 +0100
Am 06.02.2008 um 13:57 schrieb Aby:
Hi group,
I am creating an NSOutlineView dynamically without NIB.
and have the first column is given one NSSwithcButton which is
expandable
and second column with image and name.
I would like to do it the following way.
group everything into a single Column , so that the main
NSTableColumn of my
NSOutliveView will have
one checkbox, one image and a text.
so that all the three will be close to each other when the view is
expanded.
for a lengthy tree.
There's an ImageAndTextCell class in the DragNDropOutline example
code. You could use this as basis for your custom cell class that also
draws & tracks the checkbox.
HTH,
</jum>
_______________________________________________
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