Re: Problem adding subview to NSScroller subclass
Re: Problem adding subview to NSScroller subclass
- Subject: Re: Problem adding subview to NSScroller subclass
- From: Andy Lee <email@hidden>
- Date: Sat, 07 Jul 2012 11:48:11 -0400
On Jul 7, 2012, at 4:38 AM, Gideon King wrote:
> Any ideas what I might be missing? Has anybody successfully added a subview to an NSScroller?
FWIW I did a quick test where all I did was add a subview to one of the NSScrollers in an NSScrollView, and it drew just fine.
Have you double-checked that the subview is really added? What if you NSLog its frame -- could it be out of bounds? As a sanity check, what if you set the subview's frame to be the NSScroller's bounds?
--Andy
_______________________________________________
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