On Dec 11, 2014, at 02:56 , ecir hana <ecir.h...@gmail.com> wrote:
> 
> Btw., when I don't do `setDocumentView` for the textviews, the cursor shows 
> up as expected.
> 
> Why is this happening? Is it possible to have the resizing cursor over the 
> whole divider frame?

My guess is that there’s something wrong with the resizing of your text views 
to fit the scroll view’s container, so near the divider the cursor is over a 
text view *and* the divider cursor (i.e. grab) rect, and the text view is 
winning control of the cursor.

Possibly your text views are not resizing with the window at all, or possibly 
they’re resizing but their edges are pinned slightly outside the scroll view’s 
visible rect.

Yet another issue might be the text view’s own insets, which typically provide 
clearance between the view’s container and the actual text. I believe the 
default is for some clearance on the sides and maybe the top, but I’m not sure 
about the bottom.

Either way, since the “extra pixels each side of the divider that help to grab 
it” aren’t part of a divider “view”, I think you’ll have to make sure that the 
content of the split pane stay far enough away from the divider’s physical 
thickness to permit this whole “extra pixels” thing to work.



_______________________________________________

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

Reply via email to