• 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: text color in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text color in NSTextView


  • Subject: Re: text color in NSTextView
  • From: "R. Scott Thompson" <email@hidden>
  • Date: Tue, 26 Oct 2004 14:51:24 -0500


On Oct 26, 2004, at 12:04 PM, Todd Ransom wrote:

I have finally fixed this by checking "Allow user to change fons" in IB.

Which brings me to another question I've been harboring for a while. In IB you can select an NSTextView by some combination of clicks and double-clicks depending on your window layout. You get an attributes window that contains text color, background color, scrollbar size, etc. If you double-click the text view again, the attributes window still says it's giving you attributes of the NSTextView, but it only displays a subset of the properties (no scrollbar size, for instance). Also, some of the properties may not match the settings from the previous window.

Is this a bug in IB? Or some hidden feature I just don't understand?

"Some hidden feature" you don't understand :-)

When you create a TextView in IB, you don't actually get a TextView. What you actually get is a text view embedded inside of a scroll view (technically it's a text view inside of a clip view inside of a scroll view).

When you double click on the view you are saying "I want to look inside the scroll view" to the actual text view.

IB is helpful, however, in that if you just click on the Scroll View it still shows you the attributes of the text view contained within it.

On the whole this can be very confusing and frustrating. Especially if what you really want (no really!) is a Text View without a scroll view attached to it.

Scott

_______________________________________________
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: 
 >text color in NSTextView (From: Todd Ransom <email@hidden>)
 >Re: text color in NSTextView (From: Todd Ransom <email@hidden>)

  • Prev by Date: Re: NSBox Colored Background
  • Next by Date: Re: detecting an active Internet connection
  • Previous by thread: Re: text color in NSTextView
  • Next by thread: NSBezierPath Maximum When Printing
  • Index(es):
    • Date
    • Thread