Re: Getting the background colour for NSBox?
Re: Getting the background colour for NSBox?
- Subject: Re: Getting the background colour for NSBox?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 13 Sep 2004 14:43:52 -0400
Andore (email@hidden) on Mon, Sep 13, 2004 14:05 said:
>NSTextView (or any view) needs to return isOpaque to return NO;
>Then the black square will be transparent.
Thanks Andore! I subclassed NSTextView and tried this, but I still get a
black rectangle. :(
But in any case, if I take this approach, I must use 'CustomView' in IB,
right??
If I do that, I loose the ability to set bindings in IB, and all the
other properties of NSTextView. I could do it programatically of course,
but I prefer IB.
Since no one has said anything, I assume NSColor is lacking a method
similar to windowFrameColor but for NSBox? That would be perfect.
Perhaps the Carbon Appearance Manager can provide this colour?
Thanks!
_______________________________________________
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