Re: Set view in bottom right corner of NSTableView
Re: Set view in bottom right corner of NSTableView
- Subject: Re: Set view in bottom right corner of NSTableView
- From: Stéphane <email@hidden>
- Date: Fri, 16 May 2008 16:49:15 +0200
On May 16, 2008, at 3:58 PM, email@hidden wrote:
Hello List
I have been using NSTableView -setCornerView: to provide additional
drag thumb image views for tables embedded in splitviews.
Has anyone found it possible to do the same thing in the bottom
right hand corner of a table as opposed to the top?
Obviously there is no NSTableView -setBottomCornerView: method but
I thought it might be possible by manually adding a subview to the
enclosing NSScrollView.
This might not be that easily possible as the positions of the views
inside the scrollview are recomputed quite often and your bottom
corner view would be ignored by this code. So this would require
subclassing some code in NSScrollView. Not impossible but not easy
and this part of the AppKit does not work the same way between OS
versions.
_______________________________________________
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