problems with live resize of NSTextView
problems with live resize of NSTextView
- Subject: problems with live resize of NSTextView
- From: Stuart Malin <email@hidden>
- Date: Fri, 24 Apr 2009 11:06:21 -1000
I have an NSTextView in a custom view, it is set to resize with the
containing view only in the horizontal dimension. When I resize the
window, the text view does resize, and it does re-layout its content
to fit, both on expanding and shrinking. However, the text view not
only changes its frame size height, but repositions itself (changing
the y value of its frame's origin). Why does it do this?
More important to me: where is the best place for me to detect this
change because I want to change the parent view's height to
accommodate any increase in height in the text view.
TIA.
_______________________________________________
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