Re: Resize NSCollectionView items after resize
Re: Resize NSCollectionView items after resize
- Subject: Re: Resize NSCollectionView items after resize
- From: Laurent Daudelin <email@hidden>
- Date: Fri, 21 Oct 2016 10:16:45 -0400
Sorry I misunderstood your question. What about windowDidResize from NSWindowDelegate?
-Laurent.
--
Laurent Daudelin email@hidden <mailto:email@hidden>
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/>
Logiciels Nemesys Software
> On Oct 20, 2016, at 19:48, Steve Mills <email@hidden> wrote:
>
> On Oct 20, 2016, at 17:26:47, Laurent Daudelin <email@hidden> wrote:
>>
>> I used a UICollectionView in an iPad app. But the NSCollectionView is very similar. The only difference I can tell is that, when you drag a collection view onto your view controller view, you get contentArray layout type. But, if you switch to “Flow”, you will automatically get a collection view flow layout. That’s what I used from my view controller to resize the collection view cells inside the collection view by setting the item size properties. There is a little bit of math to do since you need to take into account the items spacing but that is not very hard. On iOS, you don’t have any choice in the layout of the UICollectionView.
>
> That's not really what I asked. I already know how to size the items.
>
> --
> Steve Mills
> Drummer, Mac geek
>
>
> _______________________________________________
>
> 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
_______________________________________________
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