Subclass of NSTextView resizes strangely...
Subclass of NSTextView resizes strangely...
- Subject: Subclass of NSTextView resizes strangely...
- From: Jiva DeVoe <email@hidden>
- Date: Sat, 18 Aug 2007 20:41:16 -0700
Howdy, I'm trying to subclass NSTextView to make my own custom view
for a custom IB Palette. Everything works great until I simply
inherit from NSTextView. Once I do this, my view begins to behave
very strangely when being resized (it moves up and down in the
opposite direction of my mouse.)
This is easily reproduced, just start a new IB Palette project, go to
your custom view code, and make it inherit from NSTextView. Then set
your palette up by setting the custom class on a custom view to your
custom view class name, compile it, pull it into ib, and watch the fun.
You might be able to do this outside of an IB Palette too, I don't
know, I haven't tried.
Anyone have any advice on how to solve this problem? What am I missing?
_______________________________________________
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