FROM : jonathan@mugginsoft.com
DATE : Fri May 16 18:04:43 2008
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_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 18:04:43 2008
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_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

