Re: text color in NSTextView
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