• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Subclass of NSTextView resizes strangely...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Subclass of NSTextView resizes strangely...
      • From: Marcus Karlsson <email@hidden>
  • Prev by Date: Re: Files can't be saved to the relative paths?
  • Next by Date: Re: Files can't be saved to the relative paths?
  • Previous by thread: Re: Files can't be saved to the relative paths?
  • Next by thread: Re: Subclass of NSTextView resizes strangely...
  • Index(es):
    • Date
    • Thread