On Fri, Jul 17, 2009 at 5:19 PM, James Walker<[email protected]> wrote:
> Is there a way to have an NSTextView that is not enclosed in an
> NSScrollView?  IB doesn't seem to want to let me.  It would be for
> displaying static rich text (certain things are harder, or maybe even
> impossible, to do with NSTextField).  I know I can turn off drawing of the
> NSScrollView border, but it throws off the layout, because there's a margin
> around the text, at least on the left.

How is this going to behave when autosizing?  Perhaps removing the
scroll view is not such a good idea.  You can use
-setTextContainerInset: to remove the whitespace if you desire.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to