Re: NSCollectionView selection behavior is insanely bad

2017-04-26 Thread Steve Mills
On Apr 26, 2017, at 18:13, Greg Weston wrote: >> Instead of doing the right thing when shift-clicking (selecting a range from >> the anchor), it simply adds/removes the clicked item to/from the selection. >> That's unlike pretty much any Apple matrix-of-items selection behavior ever. > > You m

Re: NSCollectionView selection behavior is insanely bad

2017-04-26 Thread Greg Weston
> Instead of doing the right thing when shift-clicking (selecting a range from > the anchor), it simply adds/removes the clicked item to/from the selection. > That's unlike pretty much any Apple matrix-of-items selection behavior ever. You mean it selects like Finder icon views have since 1984?

NSCollectionView selection behavior is insanely bad

2017-04-26 Thread Steve Mills
Since IKImageBrowserView is deprecated and buggy in recent versions of macOS, I've been switching to NSCollectionView. Holy crap, does its selection behavior suck. Instead of doing the right thing when shift-clicking (selecting a range from the anchor), it simply adds/removes the clicked item to

Re: NsCollectionView Selection

2009-01-19 Thread Sandro Noel
ok I agree, once customized it looks ok. rounded to 6 and transparent borders with a width of 4 . in your experience what does look better... as a rounded and border width ( to move it away from the container borders) regards Sandro Noel On 20-Jan-09, at 1:22 AM, Graham Cox wrote: On 20

Re: NsCollectionView Selection

2009-01-19 Thread Sandro Noel
HA! the radius does the trick thank you I did not see that. Sandro Noel. On 20-Jan-09, at 1:22 AM, Graham Cox wrote: On 20 Jan 2009, at 4:59 pm, Sandro Noel wrote: NSbox will not let me set the background color if the Box Type is not custom, If I do that I lose the rounded borders. :

Re: NsCollectionView Selection

2009-01-19 Thread Graham Cox
On 20 Jan 2009, at 4:59 pm, Sandro Noel wrote: NSbox will not let me set the background color if the Box Type is not custom, If I do that I lose the rounded borders. :( and i can't set the border colors either if the box type is not custom. That's not the case - you ONLY get rounded corn

Re: NsCollectionView Selection

2009-01-19 Thread Sandro Noel
Graham. NSbox will not let me set the background color if the Box Type is not custom, If I do that I lose the rounded borders. :( and i can't set the border colors either if the box type is not custom. do you have a suggestion? Sandro Noel. On 19-Jan-09, at 11:24 PM, Graham Cox wrote: On

Re: NsCollectionView Selection

2009-01-19 Thread Sandro Noel
Graham. I did not mean Lazy in an offensive way :) I meant it as I want to learn the real stuff and understand how it works. The documentation is hefty and sometimes confusing, so I ask for advice :) I do want a gradient semi-transparent look, it find it sleek. besides once it's designed, I

Re: NsCollectionView Selection

2009-01-19 Thread Graham Cox
On 20 Jan 2009, at 3:10 pm, Sandro Noel wrote: But I'm not looking for the lazy approach, I really want the app to be good looking, I like Mac apps because they are fancy, I want my app to be fancy too :) Besides I'm learning, so I might as well learn to do it the right way :) that's why

Re: NsCollectionView Selection

2009-01-19 Thread Sandro Noel
Thank you Graham, But I'm not looking for the lazy approach, I really want the app to be good looking, I like Mac apps because they are fancy, I want my app to be fancy too :) Besides I'm learning, so I might as well learn to do it the right way :) that's why i ask :)) So i hear that if i wa

Re: NsCollectionView Selection

2009-01-19 Thread Graham Cox
On 20 Jan 2009, at 2:42 pm, Sandro Noel wrote: When I select an element, there is no selection indicator to show the selected item. True, you have to arrange this. I've also looked at the example provided by apple, but they use and NSBox as the represented object view and the transparent

NsCollectionView Selection

2009-01-19 Thread Sandro Noel
Greetings. I'm using NSCollectionView in my application. I've defined the represented object's layout in interface builder. and now everything displays nicely on screen with a couple of exceptions. When I select an element, there is no selection indicator to show the selected item. ( blue col

Re: Is there an NSCollectionView selection change notification?

2008-05-18 Thread Markus Spoettl
On May 18, 2008, at 11:43 PM, Jens Alfke wrote: Does this look OK, especially, is removeObserver: in dealloc: not too late? Yup, that looks fine. Excellent, thanks! Regards Markus -- __ Markus Spoettl smime.p7s Description: S/MIME cryptographic sig

Re: Is there an NSCollectionView selection change notification?

2008-05-18 Thread Jens Alfke
On 18 May '08, at 10:18 PM, Markus Spoettl wrote: Does this look OK, especially, is removeObserver: in dealloc: not too late? Yup, that looks fine. —Jens smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev

Re: Is there an NSCollectionView selection change notification?

2008-05-18 Thread Markus Spoettl
On May 18, 2008, at 8:36 PM, Jens Alfke wrote: I've started playing with NSCollectionView and everything worked out beautifully (custom views, selection state handling for items etc.). One thing I can't figure out is how my application/document gets notified about a change of selection. If

Re: Is there an NSCollectionView selection change notification?

2008-05-18 Thread Jens Alfke
On 18 May '08, at 7:41 PM, Markus Spoettl wrote: I've started playing with NSCollectionView and everything worked out beautifully (custom views, selection state handling for items etc.). One thing I can't figure out is how my application/document gets notified about a change of selection.

Is there an NSCollectionView selection change notification?

2008-05-18 Thread Markus Spoettl
Hello List, I've started playing with NSCollectionView and everything worked out beautifully (custom views, selection state handling for items etc.). One thing I can't figure out is how my application/document gets notified about a change of selection. I could go through the NSCollectio