FROM : Stéphane
DATE : Fri May 16 16:49:15 2008
On May 16, 2008, at 3:58 PM, <email_removed> 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.
DATE : Fri May 16 16:49:15 2008
On May 16, 2008, at 3:58 PM, <email_removed> 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.
| Related mails | Author | Date |
|---|---|---|
| jonathan@mugginsof… | May 16, 15:58 | |
| Stéphane | May 16, 16:49 | |
| jonathan@mugginsof… | May 16, 18:04 | |
| Kyle Sluder | May 16, 19:15 | |
| jonathan@mugginsof… | May 16, 20:31 | |
| jonathan@mugginsof… | May 17, 22:14 |






Cocoa mail archive

