Yes, I had an info view below my NSCollectionView, and as that avoids horizontal scrollbar and only shows the vertical one when needed, it looked really weird for the scrollbar not to reach the bottom of the window. Shouldn't take too much tweaking to support a view that can be added and removed; it does work without the secondary view loaded.
----- Original Message ----- From: "Gideon King" <gid...@novamind.com> To: "Lee Ann Rucker" <lruc...@vmware.com> Cc: "Cocoa-Dev List" <cocoa-dev@lists.apple.com> Sent: Sunday, July 8, 2012 12:23:04 AM Subject: Re: Problem adding subview to NSScroller subclass Excellent, thanks Lee Ann. >From the look of the code, the accessory view will be shown all the time. I >guess I have a UI decision to make as to whether to have just my zoom controls >showing all the time and overlay scrollers (which may look a bit funny, but >gives you maximum room), or using legacy scrollers, or moving the zoom >controls somewhere else, or maybe making the view translucent until you mouse >over it or something... I see that Keynote has an entire bottom bar dedicated >to just a single zoom control which seems rather wasteful. Regards Gideon On 08/07/2012, at 3:04 PM, Lee Ann Rucker <lruc...@vmware.com> wrote: > You've totally hit what I hit when Lion first came out, and it was my big > WWDC question that year - took two Apple engineers digging in the code to > figure it out; turned out to be a bug lurking since the NeXT days that only > gets triggered when you add subviews to the scrollview and use overlay > scrollers. > > This is what we wrote at WWDC - it works on 10.6 & up: > ... _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com