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: "email@hidden" <email@hidden>
- Date: Fri, 16 May 2008 17:04:43 +0100
Thanks for the reply Stéphane.
I was thinking that it might be tricky. One of those things that could
unexpectedly consume a lot of time.
It's a small feature but it would solve the problem that one of my
views can get dragged out of view and there's no splitter visible to
drag it back with.
A slight GUI redesign might be needed.
Jonathan
On 16 May 2008, at 15:49, Stéphane wrote:
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