• 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
Re: Problem with NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSTextView


  • Subject: Re: Problem with NSTextView
  • From: Mike Abdullah <email@hidden>
  • Date: Thu, 13 Apr 2006 12:19:18 +0100

Well, Interface Builder offers plenty of options for displaying wrapped text. Play with them and you should find what you want to stop the text wrapping to the second line.

Mike.

On 13 Apr 2006, at 11:07AM, David Chan wrote:

Hi All,

I have a NSPanel which is created programatically and inside the
panel, an NSTextView. The NSTextView will contain a message string
with undetermined length. In the occasion where the string's length's
is greater than the textview's width, the string will break and
continue in the new line.

But what I need is for the string to continue on the same line, beyond
the visible part of the textview. The user can then click on the text
and move the mouse or cursor to see the remaining of the string. The
textview is a simple textview with no background and I can't involve
scrollview. How can I achieve this?

Thanks so much.

Regards
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Problem with NSTextView (From: "David Chan" <email@hidden>)

  • Prev by Date: Problem with NSTextView
  • Next by Date: Re: NSLayoutManager and whitespace
  • Previous by thread: Problem with NSTextView
  • Next by thread: Re: Problem with NSTextView
  • Index(es):
    • Date
    • Thread