Re: Problem adding subview to NSScroller subclass
Re: Problem adding subview to NSScroller subclass
- Subject: Re: Problem adding subview to NSScroller subclass
- From: Gideon King <email@hidden>
- Date: Sun, 08 Jul 2012 17:23:04 +1000
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 <email@hidden> 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 (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