Re: NSRulerMarker question
Re: NSRulerMarker question
- Subject: Re: NSRulerMarker question
- From: Kyle Sluder <email@hidden>
- Date: Thu, 22 Nov 2012 15:26:43 -0800
On Thu, Nov 22, 2012, at 03:22 PM, Kyle Sluder wrote:
> If you think about it, it makes sense that NSTextView cannot be
> responsible for the black line, because NSTextView (in its default
> configuration) sizes itself vertically to fit the used rect of its text
> container, yet the line draws in the entire vertical extent of the
> scroll view.
Actually now that I think of it, that's a load of bull. If NSTextView is
the document view of a scroll view, it fills out the scroll view so it
can accept mouse clicks in the entire area.
The rest of my post still stands, though—it appears that NSRulerMarker
collaborates directly with NSScrollView to draw the guidelines.
--Kyle Sluder
_______________________________________________
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